WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Page Publish
Your page or profile's access permissions could not be verified (74 posts)

  1. bastianvdb
    Member
    Posted 2 years ago #

    A good day to all.
    I'm experiencing problems when linking the plugin to my facebook app and page.

    I succesfully granted permissions to the plugin and my app id and secret are also succesfully validated.

    The problem is that I still get this annoying error:

    Some or all access permissions are missing. Please click the button Grant access rights! and authorize the plugin to post to your Facebook profile or page.
    [Error occured at line 774]

    Your page or profile's access permissions could not be verified.

    Does anyone have a solution?

    http://wordpress.org/extend/plugins/facebook-page-publish/

  2. bradclarkuk
    Member
    Posted 2 years ago #

    I am having the same issue - can anyone out there help?

    Brad

  3. caterinaellen
    Member
    Posted 2 years ago #

    Hey,

    I'm also having the same issue - clicking grant access rights! Does nothing...

  4. m3ndi3
    Member
    Posted 2 years ago #

    I'm having issues with this too! Please someone, help!

  5. TheHighPlainsDrifter
    Member
    Posted 2 years ago #

    yep same problem

  6. saxbald
    Member
    Posted 2 years ago #

    Same problem here...

  7. GeekOramaFrance
    Member
    Posted 2 years ago #

    Same problem. Here. If anyone finds a solution please let us know.

  8. Ungkarskokken
    Member
    Posted 2 years ago #

    Same problem here also.

  9. mrstawneeb
    Member
    Posted 2 years ago #

    I am also recieving this error, any ideas?

  10. jrgd
    Member
    Posted 2 years ago #

    (bump)
    (notify)

    edit:
    it seems when i use Facebook as (the Page) as in "instead of my user profile" then upon clicking Grant Access, the wordpress admin page reloads and it's facebook asking me to switch profile, upon switching profile (click on the button) i'm redirected to the worpdress page admin page and the same error is displayed

    * in my settings i also disabled all the new log-in security features device etc. but it didn't go through any better…

    ** wordpress is 3.3.1 and Facebook Page Publish is version 0.3.9

    (thank you)

  11. edgey76
    Member
    Posted 2 years ago #

    Same problem for me too. Tried jrgd's 'trick' looked like it was doing something then back to WP homepage with the error.

    Facebook ID, Secret and Page or Profile ID all green in the admin section.

  12. peaboy
    Member
    Posted 2 years ago #

    Also seeing this. I assume since none of the facebook page screenshots in the help for configuring this plugin actually look like that anymore that the facebook API has also changed too.

    -p

  13. Rodilard
    Member
    Posted 2 years ago #

    Hi Everyone, I finally got this working. The problem comes from this:
    https://developers.facebook.com/docs/offline-access-deprecation/

    In wp-content/plugins/facebook-page-publish/fpp_index.php

    On line 663
    Change

    $permissions = array('offline_access', 'share_item');

    to

    $permissions = array('share_item');

    Then on line 594, change

    preg_match('/^.+=\s*(.+)/', $access_token_url, $matches);

    to

    preg_match('/access_token=(.*)&expires/', $access_token_url, $matches);

    Hope this helps.

  14. nvillegas
    Member
    Posted 2 years ago #

    Great! Thank you very much Rodilard!

  15. edgey76
    Member
    Posted 2 years ago #

    Great - this worked. In my installation the line

    $permissions = array('offline_access', 'share_item');

    is actually on line 1325

    and

    preg_match('/^.+=\s*(.+)/', $access_token_url, $matches);

    was on line 1187

    although these were the only instances of these two bits of code and changing them as outlined above got this working.

  16. mrstawneeb
    Member
    Posted 2 years ago #

    Thank you

  17. saxbald
    Member
    Posted 2 years ago #

    Thanks Rodilard, I will try it tonight!

  18. GeekOramaFrance
    Member
    Posted 2 years ago #

    Thank you, it's working perfectly now!

  19. lephoenixmagazine
    Member
    Posted 2 years ago #

    Thank you! It DOES work!

  20. Sunganani
    Member
    Posted 2 years ago #

    Thank you sooooo much. My php knowledge is way behind what you shared here.

    Blessing to you Rodilard.

  21. jrgd
    Member
    Posted 2 years ago #

    brilliant - thanks!

  22. learnitology
    Member
    Posted 2 years ago #

    Thanks! This was easily updated using find and replace in WP > Plugins > Edit

  23. mattron
    Member
    Posted 2 years ago #

    Thank you so much! It worked!

  24. pandammonium
    Member
    Posted 2 years ago #

    Thanks for taking the time to find the fix and to share it, Rodilard. Works a treat, now.

    I hope the developer fixes this in the next update.

  25. BibliothequeFARES
    Member
    Posted 2 years ago #

    Same for me.

  26. danielgc
    Member
    Posted 2 years ago #

    A big thank you to the developer and Rodilard ;) It works!

  27. dmtaylor247
    Member
    Posted 2 years ago #

    Thanks Rodilard

  28. robbie22
    Member
    Posted 2 years ago #

    Hi Rodilard,

    Contrary to what everyone has said here, I have made exactly the changes to the lines you suggested and been back and double checked the code and still getting the same error messages regarding line 774.

    Must be something else I'm doing wrong because obviously it works for everyone else. Is there anything else I can try.

    Thanks

  29. seocadiz
    Member
    Posted 2 years ago #

    Solved with @Rodilard fix.

    This should be included in the next plugin's update

  30. Nikho
    Member
    Posted 2 years ago #

    Thanks Rodilard! It works like a charm!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic