WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Twitter Tools] Occasional Double Posts (21 posts)

  1. elforesto
    Member
    Posted 5 years ago #

    I have Twitter Tools configured to publish daily digests of my tweets for the day. It usually works just fine, but it will double-post about 2-3 times per month. Is this a bud in the plugin, or is there something I may be doing wrong?

  2. I've had the same problem, and it does appear to be random.

  3. BirgerKlaus
    Member
    Posted 5 years ago #

    I've this beavior every night.
    I think come this from a to fast server?
    Did Twitter Tools does't recognize the first post?

  4. Alex King
    Member
    Posted 5 years ago #

    This is something we've spent several days trying to debug, without success. We have never been able to reproduce the issue reliably. I have a couple of ideas I'd like to try to see what kind of impact they have.

    It's on a long list of things to investigate, so if someone wanted to sponsor the development it would move up the list.

    Otherwise, we'll address it as soon as we're able.

  5. herdivineshadow
    Member
    Posted 5 years ago #

    Phew! I thought it was just me as I'd been having trouble finding anyone with the same bug!

  6. BirgerKlaus
    Member
    Posted 5 years ago #

    Last week I start a trial and removed all twitter tools entry’s in the options table of WP MySQL Database (aktt_). And start over with new settings of twitter tools.
    And it seems, that this fix the double post behaviour.

  7. Steltek
    Member
    Posted 5 years ago #

    I have the exact same issue with my weekly digest: it always double posts. Anything I can do to assist with debugging this?

  8. kraftschaum
    Member
    Posted 4 years ago #

    I notice the same problem right here. Always double posts every night. Please give information in this thread if there is some progress in solving the problem.

    thanks

  9. seonghuhn
    Member
    Posted 4 years ago #

    I saw it happen on one of my blogs but not the other. Both are on the same system. I wonder if it has anything to do with how it plays with other plugins?

  10. Steltek
    Member
    Posted 4 years ago #

    I think the problem could be a race condition that occurs when multiple "people" access your site simultaneously (for example search crawlers that hit your blog with multiple connections).

    I've set up a cron job to hit my blog just after the scheduled post time, and the one post it was supposed to do has worked correctly so far. Of course that doesn't say much (I only have one weekly post set up), I'll have to monitor it for a few more weeks before I can say for sure that this is the problem.

  11. Steltek
    Member
    Posted 4 years ago #

    Week two of my test, another single post, just the way it should be. So I really think the 'race condition' theory holds true. Somehow, when called multiple times simultaneously, Twitter Tools doesn't lock quickly enough or somehow misses the locks of the other threads, causing it to double-post.

    Anybody got an idea on how to prevent that? (I'm no good at thinking up such solutions. Apart from somehow abusing memcached, I came up blank, and that would add quite a big dependency to it.)

  12. Azubi
    Member
    Posted 4 years ago #

    Same problem with the weekly digest. Some weeks it was just twice, now every week it is fourfold.

    @Steltek - Because it is my pure test blog, there is no other user or "multiple people access" arround.

  13. Steltek
    Member
    Posted 4 years ago #

    Yep. Week 3 and I have another double post... That pretty much throws my theory to the wind.

  14. LRonHoover
    Member
    Posted 4 years ago #

    i've finally turned this plugin off after 3 months of this issue. and i have no intention of diving into my sql tables searching for "aktt_" options. b-o-r-i-n-g. as if i didn't have my hands full with 300 other sql db's...... although i am curious if that fix actually works. or actually Alex King should be interested in whether or not that fix works. (props though, i'm sure critics are quick and the thankers are slow, especially when it comes to a free plugin that probably took many hours to develop).

    can anyone recommend another plugin that will post a daily tweet digest?

  15. herdivineshadow
    Member
    Posted 4 years ago #

    Twitter Digest

    It's what I switched to about 6 weeks ago, when I finally got sick of the double-posting and having to edit everywhere it doubleposted (not just on my blog, but also my aggregated blog and facebook).

  16. Steltek
    Member
    Posted 4 years ago #

    Sadly, that one has no 'weekly' option.

  17. LenMason
    Member
    Posted 4 years ago #

    Also TT posts when you edit an already existing post, like adding tags. Kind of annoying.

  18. This is something we've spent several days trying to debug, without success. We have never been able to reproduce the issue reliably.

    I think I can.

    Every time I have some tweets with double quotes, I end up with a double post at the end of the week.

  19. Steltek
    Member
    Posted 4 years ago #

    Hmm, interesting. I rarely ever post anything with double quotes, however I do use single quotes regularly.

  20. elforesto
    Member
    Posted 4 years ago #

    I just had a quintuple post without any quotes, though I did have some parentheses in a couple of them. Some of the posts had the appropriate tag but two of them did not. Perhaps it is a character escaping issue?

  21. Second
    Member
    Posted 4 years ago #

    Every time I have some tweets with double quotes, I end up with a double post at the end of the week.

    Wow, that's quite esoteric... we did have a tweet with double quotes this week, and a double post happened to me for the first time.

Topic Closed

This topic has been closed to new replies.

About this Topic