- Issue created by @OPtii
- Status changed to Active
over 2 years ago 2:20pm 2 February 2023 - ๐ฆ๐ทArgentina OPtii
Solution
1. Go to modules/contrib/social_post_facebook/src/Plugin/RulesAction/Post.php
2. In this file modify line 23: "context" to "context_definitions" - ๐ง๐ฏBenin delacosta456
hi
any update about this please
i am also facing this issue
Thanks - ๐บ๐ธUnited States MegaKeegMan
I can make an attempt to clean this up. This module has been in a bit of a mess for a few years now. As a result of a lot of changes in facebook, I have mostly been posting externally by calling a post method that is in the .module file, which requires passing the page id and everything to it. The rules action plugin uses the original doPost, which I have not used in a very long time, but I can return to this issue once I have updated the module to actually utilize doPost like has been expected. In the meantime, let me know if there is still interest, or if an ECA integration would cover people's needs at this point in time. I intend to add an ECA action plugin anyway.
- ๐ง๐ฏBenin delacosta456
@megakeegman
IMHO i think it will be nice if you could on this for US so that we may not necessary install ECA for this functionality
Thanks - ๐บ๐ธUnited States MegaKeegMan
Would be helpful if someone could test the issue fork and provide feedback. If you need it, there is updated documentation pending in https://www.drupal.org/project/social_post_facebook/issues/3422380 ๐ฌ How to configure applications on Facebook Active
Feedback on that documentation would be helpful too.
I am not very familiar with rules, so will be relying on people here for feedback.
- ๐บ๐ธUnited States MegaKeegMan
Also noteworthy, I have started the ECA implementation in a separate issue fork: https://www.drupal.org/project/social_post_facebook/issues/3536480 โจ Integrate with ECA Active . It allows some flexibility as far as choosing which user's account should be doing the posting. I haven't done anything like that for this RulesAction plugin, mostly because I don't have experience with setting context for rules, but maybe while we are on this topic it would be good to consider what people want/need out of this.
- ๐บ๐ธUnited States MegaKeegMan
Additionally, I am adding a sitewide account functionality ( https://www.drupal.org/project/social_post_facebook/issues/3536481 โจ Sitewide account Active ), while preserving the per-user functionality, so this is one other thing to consider as far as what kinds of RulesAction might be possible