Plugin:Facebook: Difference between revisions

From Miranda NG
Plugin:Facebook
Jump to navigation Jump to search
No edit summary
(Marked this version for translation)
(14 intermediate revisions by the same user not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
Facebook protocol support for Miranda NG.
<tvar|facebook>[https://facebook.com Facebook]</> protocol support for Miranda NG.
</translate>
 
<!--T:24-->
{{TNT|Important|<translate><!--T:25--> Sometimes Facebook temporarily locks an account due to a suspicious activity or labels Miranda NG as some "malware who hacked an account". There is no solution at the moment. We  need a developer who understands the [[wikipedia:en:MQTT|MQTT protocol]].</translate>}}
 
<translate>
== Information about statuses == <!--T:22-->
 
<!--T:23-->
* Online — connected to fb, chat is online.
* Invisible — connected to Facebook, chat is offline, but you can still see other people online, receive messages, newsfeeds and notifications.
* Offline — disconnected.


== Addons == <!--T:4-->
== Addons == <!--T:4-->
Line 28: Line 16:
* If you use two-factor authentication, you need to generate the app password and use it in Miranda.
* If you use two-factor authentication, you need to generate the app password and use it in Miranda.


== Hidden settings == <!--T:12-->
<!--T:13-->
To add/change these options you will need {{Plugin|DbEditorPP|Database Editor}} plugin.
</translate>
{{Content:Facebook/HiddenSettings}}
<translate>
== FAQ == <!--T:14-->
== FAQ == <!--T:14-->


Line 45: Line 24:


<!--T:17-->
<!--T:17-->
# Via {{Plugin|SmileyAdd}}'s "Custom smileys" – you need to enable it in FB account options, but it won't work very good:
# Via {{Plugin|SmileyAdd}}'s "Stickers" – you need to enable it in FB account options, but it won't work very good:
#* it works only for single conversations
#* it works only for single conversations
#* it works only for incoming messages
#* it works only for incoming messages
Line 61: Line 40:
<translate>
<translate>
<!--T:19-->
<!--T:19-->
# Via custom smiley pack
# Via sticker pack
#* you need to prepare own smiley pack:
#* you need to prepare own smiley pack:
#** define '''<tt><nowiki>[[sticker:123456789]]</nowiki></tt>''' as smiley string (with different numeric IDs) and attach wanted image (manually download it)
#** define <tvar|sticker><tt><nowiki>[[sticker:123456789]]</nowiki></tt></> as smiley string (with different numeric IDs) and attach wanted image (manually download it)
#* you will see only stickers defined in your smiley pack (but as classic smileys = will work all the time)
#* you will see only stickers defined in your smiley pack (but as classic smileys = will work all the time)
#* you can also send stickers (by sending the above mentioned string as whole message – without other text).
#* you can also send stickers (by sending the above mentioned string as whole message – without other text).
== Hidden settings == <!--T:26-->
<!--T:27-->
To add/change these options you will need {{Plugin|DbEditorPP|Database Editor}} plugin.
</translate>
</translate>
{{Content:Facebook/HiddenSettings}}


{{PluginGroups}}
{{PluginGroups}}

Revision as of 20:52, 11 January 2023

Facebook
Facebook
Filename Facebook.dll
Authors Michal Zelinka, Robert Pösel
Download links
Stable version: 32-bit, 64-bit
Development version: 32-bit, 64-bit
Other: Smiley pack (with Emoji)
IEView template,

Facebook protocol support for Miranda NG.

Addons

Troubleshooting

  • If you can't login in your Miranda, make sure you can login in your web browser. It may be some (unsupported) security check or Facebook's fault.
  • If you use two-factor authentication, you need to generate the app password and use it in Miranda.

FAQ

How to show stickers?

There are 3 ways to show stickers in your message window:

  1. Via SmileyAdd's "Stickers" – you need to enable it in FB account options, but it won't work very good:
    • it works only for single conversations
    • it works only for incoming messages
    • it works only occasionally – somehow it just won't show anything, I'm not sure why.
    • it works only on newly received messages, it usually won't show historical stickers for history messages (after Miranda restart).
    It's bad because of how it is implemented in SmileyAdd. Could be improved in future, but it must be done on SmileyAdd's side.
  2. Via IEView:
    • you need to use (or create) IEView template that has javascript code for transforming URLs to images/thumbnails (here)
      • as image URL is also shown in sticker message, you don't need some special template to work with stickers, as templates usually transform all URLs to image thumbnails (but of course you can use special code only for stickers)
    • this won't work in group chats, because IEView is not supported there.
  3. Via sticker pack
    • you need to prepare own smiley pack:
      • define [[sticker:123456789]] as smiley string (with different numeric IDs) and attach wanted image (manually download it)
    • you will see only stickers defined in your smiley pack (but as classic smileys = will work all the time)
    • you can also send stickers (by sending the above mentioned string as whole message – without other text).

Hidden settings

To add/change these options you will need Database Editor plugin.

Hidden settings per-account
Setting Type Default Description
Agent String Spoof client to the specified value.