WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Niraj Shah
    Member
    Posted 2 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
    Member
    Plugin Author

    Posted 2 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
    Member
    Posted 2 years ago #

    Cool. Happy to help :)

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

  4. mathews4711
    Member
    Posted 2 years ago #

    Hi,
    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 !

    Thanks
    Matthias

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

  5. mtschirs
    Member
    Plugin Author

    Posted 2 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?

    Thanks,
    mtschirs

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic