@Dr_Gonzo
http://mahamba.com

Как настроить модуль fb-autopost на drupal?

Drupal 7, установил модуль fb-autopost, поставил необходимую библиотеку, с этим все ок! Далее попытался настроить публикацию - зарегился на facebook developers, получил все необходимые ID. Настроил соединение с FB в Drupal.

Попытался настроить правила (rules) публикации, в итоге на странице в FB новые материалы публикуются, но с ошибкой "Page not found" вместо наименования материала и текст с описанием сайта (он есть на сайте, но не пойму, откуда он его берет) вместо текста публикуемого материала. 2f5ceb6247a5484ca2883ff0c0cdad41.jpg

Помогите, с настройками, что не так? В аттаче скрин настроек rules.
9fa65364e48e4711820c8db60d6a7d29.jpg
  • Вопрос задан
  • 319 просмотров
Решения вопроса 1
@gedeon2010
https://www.drupal.org/node/2296247#comment-9086683

1) add 2 fields in the facebook link entity
2) edit the rules to fill those

1) go to admin/structure/facebook-publications/manage/link/fields
2) Add existing field: field_facebook_name
3) Add existing field: field_facebook_picture
4) go to rules and edit the "Add content to facebook" rule you have created
5) Add action -> Set a data value -> DATA: entity-created:field-facebook-name -> VALUE: [node:title]
6) Add action -> Set a data value -> DATA: entity-created:field-facebook-picture -> VALUE: [node:field-image:file:url]
7) keep the Publish to Facebook page rule last in the Actions list and try again.

или https://www.drupal.org/node/2296247#comment-9265945

The solution is to use the scheduler and to set the event for the rule being "After a node has been published by Scheduler".
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы