WordPress.org

Ready to get started?Download WordPress

Forums

Wordbooker
Scheduled Posts (31 posts)

  1. justin_k
    Member
    Posted 3 years ago #

    Wordbooker seems to no longer be pushing scheduled posts to Facebook upon their publication date. I know this has worked in the past, but I've done several upgrades since then so I don't know the exact version that may've broken it - I'm now using the latest. I've tried de-activating and reactivating the plugin (with all the lines that delete the options and database tables commented out), as well as re-saving the options, but still, scheduled posts don't go through. I can only get them to push to Facebook by subsequently changing them to "Draft" and then clicking "Publish" again.

  2. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Try turning on the diagnostics and see what happens - its probably something quite simple that's either a configuration issue or a bug that I've managed to introduce.

  3. justin_k
    Member
    Posted 3 years ago #

    Well that's weird. I turned on diagnostics about an hour before the scheduled post, but this time it DID get pushed to Facebook. The last three in a row didn't. All of them were scheduled about a week ago, so there was definitely not a change in the wordbooker version between the previous three and this one.

    Strange. We'll see what happens next time, I guess...

  4. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    It could have been a glitch with Facebook - who knows. Thats the problem with doing things in the background - if they fail its sometimes hard to know why. Maybe I need to keep error messages for longer (I think I keep them for 3 days).

  5. justin_k
    Member
    Posted 3 years ago #

    Could be. I checked the error message immediately after I noticed it wasn't pushed to FB though, which was in turn only about 2 minutes after it was scheduled...so expiring error messages definitely wasn't the issue :P

    Maybe something with w3totalcache.

  6. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Total cache shouldn't affect it though as this is code running in the "back end" which I would have hoped would be excluded from caching.

  7. justin_k
    Member
    Posted 3 years ago #

    Yeah, I'd expect so too. Anyway, I guess I'll just let u know if it happens again - it worked again today so maybe it was a random Facebook glitch.

  8. justin_k
    Member
    Posted 3 years ago #

    It just missed another scheduled post; had to explicitly set it to Draft and click Publish to get it on Facebook. Like before, no records of the post whatsoever in the log (but it wasn't on Advanced Diagnostics mode again, since the previous 2 schedules *did* work)

  9. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Anything in the php error logs? Did the post go to your blog?

  10. justin_k
    Member
    Posted 3 years ago #

    No php error logs, the post did go to my blog - just not to Facebook

  11. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Very strange indeed

  12. justin_k
    Member
    Posted 3 years ago #

    No other ideas on how I could debug it? Again, it does seem to work 100% when I actually click "Publish" - the only times it misses it occur when the publication takes place via a schedule...

  13. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    All I can suggest is leaving the diagnostics turned on and keep checking and when it goes wrong we'll look into it. Just check the logs and if its posted OK then clear the log down or it will just get very messy.

  14. justin_k
    Member
    Posted 3 years ago #

    Enabled "Advanced Post diagnostics" 5 minutes before a scheduled post, waited till 5 minutes after, the post appeared on my site as expected but was not pushed to Facebook. Absolutely nothing appeared in the Diagnostic Messages on the Wordbooker admin panel.

    Editing the post, changing it to "Draft", saving, and then clicking "Publish" manually did push it to Facebook, and printed a massive amount of messages to the diagnostics, as expected.

  15. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    If there is nothing in the diagnostic logs this would suggest that the hook just isn't firing at all which is very odd

  16. justin_k
    Member
    Posted 3 years ago #

    Scheduled posts always work for you?

    Which hook is used to publish in the case of scheduled - publish_post -> wordbooker_publish, same as a manual publication?

    I wonder if this is helpful:
    http://codex.wordpress.org/Post_Status_Transitions

    Or this:
    http://wordpress.org/support/topic/can-the-publish_post-hook-be-sensitve-to-future-time-stamps?replies=13

  17. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Post Status transitions are a complete pain - you end up having to create hook for each possible combination. I use the publish_post hook which fires when a post is published (and that includes scheduled posts) - unless WordPress have broken things again.

    What Version of WordPress are you using?

  18. justin_k
    Member
    Posted 3 years ago #

    3.0.4.

    Next time I have a scheduled post, I'll try it with totalcache off just out of curiosity. It *has* been known to screw things up unexplainably...

  19. justin_k
    Member
    Posted 3 years ago #

    Well waddaya know - with totalcache off, it got pushed to Facebook.

    I'll leave it this way for a few more posts and see what happens, just thought I'd report in case that's helpful to your debugging...

  20. MikePowell
    Member
    Posted 3 years ago #

    Justin_K,

    I use both the wp-fb-autoconnect plugin as well as wordbooker. (On wordpress 3.1) Both plugins are fantastic and add a great deal of functionality.

    However, it seems that the 'Login with Facebook' button becomes inactive when the wordbooker plugin is active.

    Do you have any idea why this might be happening?

  21. metal450
    Member
    Posted 3 years ago #

    This is a thread about scheduled posts, not a plugin incompatibility...but no, I myself am using both plugins simultaneously without a problem.

  22. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Mike - can you check what version of FB-Autoconnect you are using because Justin (Who wrote that plugin) asked me to make a slight change to enhance the comment handling but he didn't say anything about other parts of it not working.

    Also starting a new thread might be an idea.

    Steve

  23. metal450
    Member
    Posted 3 years ago #

    Steve: Back on topic for this thread, I've tested several more scheduled posts, both with w3totalcache on and off. It seems that with w3totalcache off, scheduled posts work 100%. With it on, they work *sometimes*, and other times they don't get pushed to Facebook - presumably having to do with the current state of the cache. Might be something for you to explore with Frederick Townes, the w3totalcache author, when you have a moment...

  24. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    Last time I checked w3totalcache didn't work with WP in subdirectory blog mode and there is no way it should be caching any code from the back end.

  25. justin_k
    Member
    Posted 3 years ago #

    Well, it does indeed seem to work in subdirectory mode.

    Regarding the backend, while I agree that it *shouldn't*, I'd imagine that perhaps the object or database cache (or something) maybe interfering in some way...

  26. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    OK well it looks like he must have fixed it, I use Donncha's Supercache which doesn't have any problems with scheduled posts at all

  27. metal450
    Member
    Posted 3 years ago #

    Alright, so I've gone through and tried each of w3-total-cache's caching options one at a time; the one that breaks Wordbooker's ability to push Scheduled posts to Facebook is the "Page Cache." Object Cache, Database Cache, Minify, and Browser Cache all work fine - but as soon as Page Cache is enabled, Wordbooker stops pushing scheduled posts to Facebook.

  28. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    But do the posts get pushed to your blog?

    This is all very odd as Wordbook is simply piggy backing on the publish_post hooks so it shouldn't be affected by the cache system.

  29. metal450
    Member
    Posted 3 years ago #

    They always get published on my site, just not on Facebook (unless page caching is off...)

    I know it's weird, but believe me - I spent the better part of an hour changing EVERY setting, scheduling posts for 2min later, etc.

  30. Steve
    Member
    Plugin Author

    Posted 3 years ago #

    So the question is - why does that cache app basically break a wordpress hook?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags