WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Facebook Page Publish] Default Post to Facebook – change to Yes?

[Resolved] [Plugin: Facebook Page Publish] Default Post to Facebook – change to Yes?

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author mtschirs

    @mtschirs

    A good idea for improvement, will be integrated into the next update (the feature list grows quite fast).

    Ok great, thanks! Is there a way that I could hard-code it temporarily? I am working with an automatic blog, and I need this to be, well, automatic. Thanks again, Ken

    Plugin Author mtschirs

    @mtschirs

    Yes, you can easily hardcode it. Simply do the following:

    1. Click “Editor” in the “Plugins” menu and open “facebook-page-publish/fpp_index.php”.

    2. Replace <label for="fpp_post_to_facebook">Post to Facebook </label><input type="checkbox" value="1" id="fpp_post_to_facebook" name="fpp_post_to_facebook" /> with <label for="fpp_post_to_facebook">Post to Facebook </label><input checked="checked" type="checkbox" value="1" id="fpp_post_to_facebook" name="fpp_post_to_facebook" /> (in function fpp_render_post_button())

    Plugin Author mtschirs

    @mtschirs

    Better solution: Simply update the extension – it is now a the default setting (will be customizable in the next major version).

    Update the extension? Not sure what you mean by that 🙂 Do you mean update the plugin? Thanks!

    Plugin Author mtschirs

    @mtschirs

    Plugin, of course. Unless you happen to use a french wordpress installation – they have a translation for everything 😉

    Ok, I had updated to 0.2.2 right before I changed the code – so I probably messed it up. Is it 0.2.2 that I want? I will just uninstall and reinstall to make sure…

    Plugin Author mtschirs

    @mtschirs

    The updated version is 0.2.2. But don’t worry, the next major update (coming soon) will revert your hardcoded changes – until then, it should be working fine even with your changes.

    Ok, I took a post that was scheduled and changed the scheduled time so it posted a couple minutes later. So far nothing on Facebook but I think they are usually delayed a bit – I’ll let you know.. Thanks, Ken

    Plugin Author mtschirs

    @mtschirs

    You made me aware of another bug: scheduled posts were not handled the way they are supposed to.
    I fixed the current version 0.2.2 (no update) to handle all kinds of posts correctly, but if you don’t want to wait for the official update, you have to reinstall the plugin.

    The delay wordpress-facebook is usually short (seconds to 1-2 minutes).

    Well, it doesn’t work with my automatically scheduled posts – but it works with a manually scheduled post, so there must be something in my custom code that causes it not to work. Would you be interested in taking a look at my code? I have also tried a plugin similar to yours called FT FacePress II, and that one creates two identical FB updates for each post! Must me be my code I bet.

    Plugin Author mtschirs

    @mtschirs

    Yes, I am interested into looking at your code. Can you post/link the complete code / modification you use so that I can reproduce the problem on my own system?

    Actually now I see there are several updates that the developer made to the code that I did not know about. It was a plugin, I made some changes/fixes to it awhile back and then added it to my function.php of my child theme. This is the plugin:

    [HUGE chunk of code moderated as per the Forum Rules. Please use the pastebin]

    Plugin Author mtschirs

    @mtschirs

    I found my plugin to be the cause for this malfunction. Currently, only posts send from the admin panel are considered for facebook-publishing. The bugfix will be released with the next major update (hopefully today).

    Wow, ok, thanks for letting me know. I look forward to the release!

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘[Resolved] [Plugin: Facebook Page Publish] Default Post to Facebook – change to Yes?’ is closed to new replies.