Support » Plugin: WP to Twitter » Issues with duplicated posts and bit.ly

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Interesting. What method are you using to duplicate a post? There must be a plug-in enabling it.

    What’s happening, I suspect, is that the duplication of the post includes the meta data from the original post – and that means that the short URL is being copied over, as well.

    We use the Duplicate Post plugin. We’ve been using both your plugin & Duplicate Post for at least a year, and everything played nicely until the recent updates. Here’s a link to the plugin: http://wordpress.org/extend/plugins/duplicate-post/ . We have posts with 10+ older tweets, all with different bit.ly links; until this update, it made a new link so long as we used #url# to create a custom tweet.

    Plugin Author Joe Dolson

    (@joedolson)

    I’ll have to do some investigation to see what I can do. I did make a change in the fetching of old short URLs, so that could be the reason – but I want to keep that change, as it was fixing a different issue.

    Plugin Author Joe Dolson

    (@joedolson)

    All right. So, I looked at the Duplicate Post plug-in, and it has a settings field to specify meta fields that should not be copied over.

    I would suggest adding most of the WP to Twitter post meta fields to that field so that none of them will be copied, but certainly the short URL fields:

    _wp_jd_supr,_wp_jd_ind,_wp_jd_bitly,_wp_jd_wp,_wp_jd_yourls,_wp_jd_url,_wp_jd_goo,_wp_jd_target,_jd_wp_twitter,_jd_twitter,_wpt_failed

    The relevant one varies a bit depending on what shortener you’re using. This also includes the archives of past tweets and failed tweets.

    Thanks, that fixed the issue.

    We actually find the archived tweets very useful, would re-allowing those cause the problem to resurface? If not, which of the short URL fields refer to the archive?

    Plugin Author Joe Dolson

    (@joedolson)

    _jd_wp_twitter is the field that holds the archived Tweets.

    Best,
    Joe

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issues with duplicated posts and bit.ly’ is closed to new replies.