Closed (fixed)
Project:
Social Post Facebook
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2018 at 19:51 UTC
Updated:
25 Aug 2018 at 00:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joshua.boltz commentedPatch that fixes up Social Post Facebook so it can work with the Social API / Social Post 2.x modules.
Comment #3
gnugetWhile I don't maintain the branch 2.x of this module I will be happy to review and merge your work, I will try to do the review of all your patches this week.
And now that Facebook deprecated the
publish_actionspermission I will move #2907167: Allow publish on a facebook page not just on user profiles. to critical.Thank you for all your work.
David.
Comment #4
gnugetHi Joshua.
I've reviewed your patch and looks great, thanks! I didn't now the state of the branch, so I spent time cheking what was different from the 8.x-1.x version thanks for complete the missing methods, all looks good I just have a few nits, please let me know if you want to discuss one of the following points or if I can help you with something:
The
publish_actionspermission has been removed from the facebook api (more info here) and this is triggering a fatal error when is link the accounts, this is why I updated #2907167: Allow publish on a facebook page not just on user profiles. as critical.This permission is still working for you? in my opinion we should remove this asap.
Also, the email, is the the email permission used for something else? in the Branch 1.X I actually added a text area where the developer could ask whatever permission they wish, I think we can left the email for now but we should consider to backport what I did in the other branch, I think it can stay for now.
Accord with the Drupal Standards the type must be with the fully-qualified namespace (more info here) so, we should revert this change.
I don't think we should get rid of the logger, it is always good leave messages if something went wrong. Actually the logger should come from the parent (the
NetworkBase) so the classes which extends theSocialPostNetworkcan just use the logger right away, I would say: let's leave it and create an issue in the social_api module.The
social_post_facebook 8.x-2.xsettings page allows the user to set the graph_version, we should use that value, no?All the files must finish with an empty line.
David.
Comment #6
gnugetHi!
I had time today and I committed your patch and after did the following changes:
Thank you for your help on this one.
Comment #7
joshua.boltz commentedGreat, thanks David! I'll work on giving that some good testing 8.x-2.x this weekend.
If you want to reach out to me via Drupal Slack, it would be appreciated, maybe together we can figure out a resolution to https://www.drupal.org/project/social_post_facebook/issues/2907167? I did ping you about some things there, but maybe you are not around.
I think mainly I'm stuck on how to get the proper permissions needed to do a post to a Facebook Page, with the `publish_actions` permission being gone. If you have any paths forward, I would be happy to attempt a patch to add that support.