Facebook Page Publish
[resolved] Serious bug in version 0.3.7 of plugin (5 posts)

  1. Niraj Shah
    Posted 4 years ago #

    There is a serious bug in the latest version of the plugin, where a post is always published to the user's profile page rather than a select fan page. Luckily, I've managed to isolate the issue and put in a fix.

    On line 308 of fpp_index.php, look for:
    $api_url = 'https://graph.facebook.com/me/links';

    and replace it with:

    $api_url = 'https://graph.facebook.com/'.$object_id.'/links';

    This will fix the issue for anyone experiencing the same problem.

    Hope this will be added as a permanent fix to the next release.

  2. mtschirs
    Plugin Author

    Posted 4 years ago #

    Hey Niraj,

    Thank you for posting the bug and a fix!

    I did not have a test case for this and due to the adaption to the many Facebook API changes / errors last week I got this one wrong.

    The next version will again include the correct $api_url (as in version 0.3.6 and before).

  3. Niraj Shah
    Posted 4 years ago #

    Cool. Happy to help :)

    Love the plugin by the way! Use it on all my blogs.

  4. mathews4711
    Posted 4 years ago #

    I've just installed your plugin in my WP-Network (3.2.1) environment,
    applied the fix above and tried to post to my Fanpage,
    but nothings happens ??

    Any help would be appreciated !


    PS. do you write errors to a log - file ? (where?)

  5. mtschirs
    Plugin Author

    Posted 4 years ago #

    The bug reported by Niraj Shah is resolved with version 0.3.8.

    @mathews4711: There is currently no log file. Could you try out the newest version and tell me if the problem persists?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Facebook Page Publish
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic