WordPress.org

Ready to get started?Download WordPress

Forums

Twitter posts to Blog
[resolved] Duplicates (14 posts)

  1. Mike
    Member
    Posted 1 year ago #

    Hi
    I seem to be getting lots of duplicate posts of tweets.
    Any ideas about this?
    This wasn't happening in the original non-oauth version of the plugin.

    Cheers

    http://wordpress.org/extend/plugins/twitter-posts-to-blog/

  2. Sid05
    Member
    Posted 1 year ago #

    +1, same problem here

  3. badbreze
    Member
    Plugin Author

    Posted 1 year ago #

    update now and give me feedback

  4. Sid05
    Member
    Posted 1 year ago #

    Not solved. I have update the plugin, set the cron job at 5 minutes and "published" for the status, with same result. Every 5 minutes duplicate the post/tweet.

    Thanx a lot

  5. badbreze
    Member
    Plugin Author

    Posted 1 year ago #

    post your query string please.

  6. Mike
    Member
    Posted 1 year ago #

    I am still testing. I am not 100% it's not working.

    There maybe 2 other possible sources for the problem:

    1. Autopost next items seems to still have old stuff
    2. The twitter api may be screwed up

    I am going to let it run for a few hours.

    Cheers

  7. Mike
    Member
    Posted 1 year ago #

    I am working with a variety of 4:
    epub3, epub, idpf and ereaders hashtags.

  8. Sid05
    Member
    Posted 1 year ago #

    I have only one term in search query, "conimieisoldi"

  9. badbreze
    Member
    Plugin Author

    Posted 1 year ago #

    Try updating the plugin and check the flag "Eclude retweets"

    i think the duplicates are retweets because each post has a unique tweet id and cannot be duplicated

  10. Mike
    Member
    Posted 1 year ago #

    Yes thanks.
    I think it is working better now.

    May I make a suggestion:
    I think the "Next Items" feature is a bit confusing.
    It's supposed to be a spooler when the number of tweets uploaded are higher than the "Items at a time" setting?

    I suggest that you add some diagnostics to the page with more info about the tweet like tweet ID and time. You could add it to the author column.

    Cheers

  11. Mike
    Member
    Posted 1 year ago #

    Great so far.
    Running the plugin unmodified on 3.51
    Now I am going to test it on 3.6 beta 3 with my mods.

  12. badbreze
    Member
    Plugin Author

    Posted 1 year ago #

    If you have added modifications to this plugin you can share with us if you want =)

    Now im adding more info in the Next Items page and changing his name

  13. Mike
    Member
    Posted 1 year ago #

    This is useful code I think I saw in Ozh's plugin that creates links from hashtags and @ mentions in a tweet.

    $str= preg_replace("/(?<!a href=\")(?<!src=\")((http|ftp)+(s)?:\/\/[^<>\s]+)/i","<a href=\"\\" target=\"blank\">\</a>",$tweet->text);
    $str = preg_replace('|@(\w+)|', '<a href="http://twitter.com/$1">@$1</a>', $str);
    $str = preg_replace('|#(\w+)|', '<a href="http://search.twitter.com/search?q=%23$1">#$1</a>', $str);
  14. badbreze
    Member
    Plugin Author

    Posted 1 year ago #

    added by default thanks for contributing =)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic