HERE THE SOLUTION TO MAKE IT WORK FOR PAGES
-
Hi all,
I’ve been searching a lot to understand why the plugin installed before the new Facebook API were still working and not the ones after. Actually i have a solution!!!
_First, you have to know there is no need to submit items for a review as said in other_notes, this would be necessary if you wanted other people to install the app to share on your page, which is not the case. No need to turn the app live either.
_Second, i’m assuming you have done all the process of creating the app, installed the plugin, and authorized the app with the app ID and app secret. Nothing changes here.THE SOLUTION:
Well it is pretty simple, but the Facebook doc being what it is, it was haaaard to find. The plugin does not ask for a permission from the new API, which is ‘publish_pages’. My solution is not ideal because it is a plugin code change (means that the change is overwritten if you update the plugin), but i let you find proper ways if you want, this does the trick for me:
_you have to change the file add-link-to-facebook-int.php (line 54 in my case, but just search for publish_actions and you’ll find the line)
_replace:$url .= '&scope=read_stream,manage_pages,user_groups,publish_actions';
_by:$url .= '&scope=read_stream,manage_pages,publish_pages,user_groups,publish_actions';
_once this is done, go to the Add link to facebook configuration, and click on the ‘Authorize’ button, it will redirect to a facebook confirmation, confirm it, and that’s done!!!If you find better way to do it, just tell me!! Here is how i found this, in this page, you can check the real permissions for you access tokens, and it is how i found the permission was missing. Another useful link is here, where you can check several things, but it is more complicated.
Kaddath
- The topic ‘HERE THE SOLUTION TO MAKE IT WORK FOR PAGES’ is closed to new replies.