• Resolved vich11

    (@vich11)


    The Nextscripts Social Networks Auto poster is sometimes posting up to 5 copies of the same post to Tumblr. It seems to be random. One post will only appear there once (as it should), some will have two to three copies, and sometimes as many as five(!) in a row of the same post.

    I’ve tried delaying the publication of posts to Tumblr by an hour in case it was caused by multiple saves after publication, but that hasn’t made any difference.

    Very annoying for followers of there to get multiple posts in a row.

    http://wordpress.org/extend/plugins/social-networks-auto-poster-facebook-twitter-g/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author NextScripts

    (@nextscripts)

    Thread Starter vich11

    (@vich11)

    I have a lot of plugins, some of them might use wp cron. I don’t get why twitter and G+ don’t have this issue but tumblr does.

    Thread Starter vich11

    (@vich11)

    Log results for one post:

    [2013-06-24 16:18:58] – [Posted] [Tumblr – Tumblr] – OK – Message Posted | PostID: 327486 – ‘World War Z’ Original Ending Revealed; Sequel to Begin Development |im
    [2013-06-24 16:18:58] – [Posted] [Tumblr – Tumblr] – OK – Message Posted | PostID: 327486 – ‘World War Z’ Original Ending Revealed; Sequel to Begin Development |im
    [2013-06-24 15:19:31] – [Posted] [Twitter – Twitter] – OK – Message Posted
    [2013-06-24 15:19:30] – [Posted] [Pinterest – Pinterest] – OK – Message Posted | PostID: 327486 – ‘World War Z’ Original Ending Revealed; Sequel to Begin Development
    [2013-06-24 15:19:24] – [Posted] [Google+ – Google+] – OK – Message Posted | PostID: 327486 – ‘World War Z’ Original Ending Revealed; Sequel to Begin Development
    [2013-06-24 15:18:55] – [Scheduled] [Twitter (Twitter)] – for 1372087155(2013-06-24 15:19:15) | PostID:(327486)
    [2013-06-24 15:18:55] – [Scheduled] [Tumblr (Tumblr)] – for 1372090735(2013-06-24 16:18:55) | PostID:(327486)
    [2013-06-24 15:18:55] – [Delayed] [Tumblr (Tumblr)] – Post has been delayed for 3600 Seconds (1 Hours )
    [2013-06-24 15:18:55] – [Scheduled] [Pinterest (Pinterest)] – for 1372087146(2013-06-24 15:19:06) | PostID:(327486)
    [2013-06-24 15:18:55] – [Scheduled] [Google+ (Google+)] – for 1372087145(2013-06-24 15:19:05) | PostID:(327486)
    [2013-06-24 15:18:55] – [Start =- ]- ——=========#### NEW AUTO-POST REQUEST PostID:(327486) Scheduled +4 ####=========——

    Thread Starter vich11

    (@vich11)

    BTW, the issue here is that SNAP is not flagging duplicates as duplicates and not posting. I looked through the log and saw instances where there was a duplicate post attempt but the plugin blocked it. Here, it’s just letting them all through.

    Thread Starter vich11

    (@vich11)

    I can’t disable wp-cron because other plugins use it. Since I have the paid version of this plugin, it would be nice to get a resolution to this. Here’s the latest, again 5 in a row for some reason:

    http://screencast.com/t/ppzlEMbP

    I wish I knew why some are only posting once and others multiple times.

    Plugin Author NextScripts

    (@nextscripts)

    You don’t need to disable WP-Cron, just set it up correctly. Right now it’s running 5 times per second. What other plugin could require it 5 times per second? It’s way to much. Set it every minute and it will be fine. It will also get off overloading from your server, so your site will work faster.

    Thread Starter vich11

    (@vich11)

    Where is that done? BTW, the link you provided for the fix does not mention (that I can find), changing WP-Cron settings:

    Solution
    To avoid multiple instances of WP-Cron running on your server and making duplicate posts, you can try to use the default way of setting up cron jobs on a Linux server.
    Please make sure that your web host allows you to setup Linux cron jobs. The way this is setup would be different based on the control panel offered by your host.
    There are two steps involeved:
    1. Disable internal WP-Cron execution on page load.
    2. Setup a real cron job function that makes a request to the wp-cron.php file at regular intervals based on your preference.
    NOTE: Before you follow this method, please note that disabling internal WP-Cron can also result in the website not running properly based on your setup or the plugins used.

    Plugin Author NextScripts

    (@nextscripts)

    There are no settings. Just do exactly what it says.

    1. Disable internal WP-Cron execution on page load. (The keyword here is “on page load” – if 5 people are accessing your site simultaneously WP-Cron will be executed 5 times)

    2. Setup a real cron job function that makes a request to the wp-cron.php file at regular intervals based on your preference.

    If you do that your “WP Cron” will be executed, not by “page load”, but by real cron job

    Thread Starter vich11

    (@vich11)

    Ah, gotcha, thanks very much. Will try that ASAP.

    Thread Starter vich11

    (@vich11)

    Just wanted to follow up to let you know that solution WORKED.

    Thanks very much!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Up to 5 duplicate posts to Tumblr’ is closed to new replies.