Plugin:Facebook/ru: Difference between revisions

From Miranda NG
Plugin:Facebook/ru
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>{{PluginCard}}
<languages/>{{PluginCard}}
Поддержка протокола Facebook в Miranda NG.
Поддержка протокола Facebook в Miranda NG.
<!--T:24-->
{{TNT|Important|Facebook периодически блокирует учётную запись, используемую в Miranda NG, заставляя пользователей менять пароль. Решение проблемы отсутствует. Нужен разработчик, разбирающийся в [[wikipedia:ru:MQTT|протоколе MQTT]].}}


== Information about statuses ==
== Information about statuses ==

Revision as of 18:06, 13 February 2020

Other languages:
Facebook
Facebook
Имя файла Facebook.dll
Авторы Michal Zelinka, Robert Pösel
Скачать
Стабильная версия: 32-bit, 64-bit
Версия в разработке: 32-bit, 64-bit
Другое: Smiley pack (with Emoji)
IEView template,

Поддержка протокола Facebook в Miranda NG.

Information about statuses

  • 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.

Дополнения

Решение проблем

  • Если плагин не подключается, попробуйте войти на сайт через браузер. Возможно, сервис Facebook недоступен или у них произошло крупное обновление (в таком случае придётся подождать обновления плагина).
  • Если войти на сайт через браузер удается, но плагин так и не подключается, попробуйте удалить ключ DeviceID в ветке Настройки/<Внутреннее_имя_учётной_записи> (например, Facebook_1) с помощью плагина Database Editor (будьте осторожны при использовании!) и попытайтесь подключиться ещё раз.
  • If you still can't login from Miranda, you can share your working session from your web browser and use it in Miranda. DeviceID in Miranda is basically a cookie holding your session (= remembered login, so you don't need to login every time you open the website in browser). And instead of deleting it, you can set its value to the value of cookie with name "datr" from your web browser. In other words, open some kind of cookies manager in your web browser, find cookie with name "datr" from facebook.com website, and copy it's value to Miranda as DeviceID's value. This way you will share your working session from web browser with Miranda. Be careful though: This is only temporary solution and it will cause you same problems as you experienced in Miranda (showing captchas or deny sending URLs completely — it's only temporary, though).

Скрытые настройки

Для изменения скрытых настроек вам понадобится плагин Database Editor.

Скрытые настройки учётной записи
Параметр Тип Значение
по умолчанию
Описание
Agent Строка Подменить название клиента на указанное.

FAQ

How to show stickers?

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

  1. Via SmileyAdd's "Custom smileys" – 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 custom smiley 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).