• 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

    https://www.ads-software.com/plugins/add-link-to-facebook/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tanaylakhani

    (@tanaylakhani)

    That is exactly the solution. Good job for posting it! Fixed in the latest release

    Thread Starter Kaddath

    (@kaddath)

    No problem, i like this plugin, simple to use and full of features at the same time..

    Maybe you should edit the “other_notes” page because it still tells to go through the review process, so that people can loose a bunch of time for nothing (review process obliges you to submit a lot of information that you don’t need here)

    Kaddath

    Hello guys.

    Is it only me or the plugin is difivult to set up? I was rejected all the needed permissions in the FB app, I had to show pics etc still I was rejected.

    How did you do it with the FB app permissions?

    Hello guys.

    Is it only me or the plugin is difivult to set up? I was rejected all the needed permissions in the FB app, I had to show pics etc still I was rejected.

    How did you do it with the FB app permissions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HERE THE SOLUTION TO MAKE IT WORK FOR PAGES’ is closed to new replies.