Double FB Posts

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #127943
    Jimmy Harmon
    Participant

      I’m using Plugin Version: 3.1.2 (API Version: 2.11.5) [Pro – Multiple Accounts Edition].

      Auto Reposting is posting the same post 2, sometimes 3 times on my Facebook Page.

      Is there any way to repair this?

      #128904
      NextScripts.com
      Participant

        What do you have in the log right after the post was posted several times?

        #129606
        Jimmy Harmon
        Participant

          This was in my log from today…

          [2014-01-29 16:05:06] – [Comments Import] [ALL] – Checking for new comments now… Array ( [0] => 1877 [1] => 4068 [2] => 3976 [3] => 1542 [4] => 4106 [5] => 4094 [6] => 4087 [7] => 4048 [8] => 3863 [9] => 3887 [10] => 1885 [11] => 4073 [12] => 3847 [13] => 3884 [14] => 3855 )
          [2014-01-29 16:03:11] – [RE-Posted] [Facebook – FB Harmon Concrete] – OK | Requested Time: 2014-01-29 16:03:03 | Current Time:2014-01-29 16:03:05 | | Previous Time:2014-01-29 16:00:07| Next Shedulled Time – 2014-02-04 16:02:33) | Reposting (Random) POST ID:1877 | Total posts included in reposting: 4 | Prev Post ID:4068 | |Query: SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id WHERE 1=1 AND ( wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN (1,1023) ) ) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) AND post_date >= ‘2011-05-05’ AND post_date <= ‘2014-01-22’ AND (wp_postmeta.meta_key = ‘snapFB’ AND wp_postmeta.meta_value LIKE ‘%nxsi2fb%’) GROUP BY wp_posts.ID ORDER BY RAND() DESC LIMIT 0, 1

          NT OPTS: Array ( [doFB] => 1 [nName] => FB Harmon Concrete [fbAppID] => 193972943978007 [fbAppSec] => f5912d47c5c6dc62d5297fe06d3c7bbc [catSelEd] => 1 [fbPostType] => A [fbAttch] => 1 [fbAttchAsVid] => 0 [imgUpl] => 1 [fbMsgFormat] => %TITLE% – %RAWEXCERPT% [fbMsgAFrmt] => [riComments] => 0 [riCommentsAA] => 0 [nDays] => 0 [nHrs] => 0 [nMin] => 0 [fbURL] => https://www.facebook.com/harmonconcrete [fbPgID] => harmonconcrete [fbAppAuthToken] => CAACwathrZChcBAKhrRppQr0OL8BPEqczwXmKBP6i9EStBO3Rx44ZAjVZAaBNl2G2gZBw8ZBas6HwKIZATOHDTZCPHI7vRrAvSbSEjsCVPZAkzPhpo248oVN25XAc6wcYuD5LZCGa5KwY6IS8O7QQ5hyjWgkQsQhug5Cce6Wb5VWkU94UDZBg40ZBYuu [fbAppPageAuthToken] => CAACwathrZChcBAPE1cyuK8BCxDtGSNIZCaJbRkXrhAZBtxt4HWxnOa2dDhHDE9eQbZBtCCBjQ4vVSDJHQ2rw8jD4vbVWx5xlZBjROnkCsS6NjnIFsuTjc6GoZCEJvY5MAJ9ZBcncvIJf2SO8ZAnRuBbd4K7JuK6DRJXYazkAftVZCP1edNZCQzWdaahl9hC0YXo5IZD [fbAppAuthUser] => 1332489846 [catSel] => 1 [useFBGURLInfo] => 1 [rpstOn] => 1 [rpstDays] => 3 [rpstHrs] => 0 [rpstMins] => 0 [rpstRndMins] => 10 [rpstPostIncl] => nxsi2fb [rpstType] => 1 [rpstTimeType] => A [rpstFromTime] => [rpstToTime] => [rpstOLDays] => 7 [rpstNWDays] => 1000 [rpstBtwHrsType] => A [rpstBtwHrsT] => 21 [rpstBtwHrsF] => 16 [rpstBtwDays] => Array ( [0] => 7 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 [6] => 6 ) [rpstNxTime] => 1391529753 [rpstLastShTime] => 1391011385 [rpstLastPostTime] => 2012-01-06 06:52:29 [rpstLastPostID] => 1877 [ii] => 2 [pType] => aj [isPosted] => 1 [imgToUse] => [urlToUse] => [rpstOnlyPUP] => 0 [nxsCPTSeld] => a:1:{i:0;s:4:”post”;} [tagsSel] => [tagsSelX] => ) ARGS:

          Array ( [orderby] => rand [posts_per_page] => 1 [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => publish [suppress_filters] => )
          [2014-01-29 16:03:11] – [Posted] [Facebook – FB Harmon Concrete] – OK – Message Posted | PostID: 1877 – Concrete or Asphalt on Roads |aj
          [2014-01-29 16:00:11] – [RE-Posted] [Facebook – FB Harmon Concrete] – OK | Requested Time: 2014-01-29 15:59:29 | Current Time:2014-01-29 16:00:07 | | Previous Time:2014-01-23 16:06:05| Next Shedulled Time – 2014-01-29 16:03:03) | Reposting (Random) POST ID:4068 | Total posts included in reposting: 4 | Prev Post ID:1542 | |Query: SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id WHERE 1=1 AND ( wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN (1,1023) ) ) AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status = ‘publish’) AND post_date >= ‘2011-05-05’ AND post_date <= ‘2014-01-22’ AND (wp_postmeta.meta_key = ‘snapFB’ AND wp_postmeta.meta_value LIKE ‘%nxsi2fb%’) GROUP BY wp_posts.ID ORDER BY RAND() DESC LIMIT 0, 1

          NT OPTS: Array ( [doFB] => 1 [nName] => FB Harmon Concrete [fbAppID] => 193972943978007 [fbAppSec] => f5912d47c5c6dc62d5297fe06d3c7bbc [catSelEd] => 1 [fbPostType] => A [fbAttch] => 2 [fbAttchAsVid] => 0 [imgUpl] => 1 [fbMsgFormat] => %TITLE% [fbMsgAFrmt] => [riComments] => 0 [riCommentsAA] => 0 [nDays] => 0 [nHrs] => 0 [nMin] => 0 [fbURL] => https://www.facebook.com/harmonconcrete [fbPgID] => harmonconcrete [fbAppAuthToken] => CAACwathrZChcBAKhrRppQr0OL8BPEqczwXmKBP6i9EStBO3Rx44ZAjVZAaBNl2G2gZBw8ZBas6HwKIZATOHDTZCPHI7vRrAvSbSEjsCVPZAkzPhpo248oVN25XAc6wcYuD5LZCGa5KwY6IS8O7QQ5hyjWgkQsQhug5Cce6Wb5VWkU94UDZBg40ZBYuu [fbAppPageAuthToken] => CAACwathrZChcBAPE1cyuK8BCxDtGSNIZCaJbRkXrhAZBtxt4HWxnOa2dDhHDE9eQbZBtCCBjQ4vVSDJHQ2rw8jD4vbVWx5xlZBjROnkCsS6NjnIFsuTjc6GoZCEJvY5MAJ9ZBcncvIJf2SO8ZAnRuBbd4K7JuK6DRJXYazkAftVZCP1edNZCQzWdaahl9hC0YXo5IZD [fbAppAuthUser] => 1332489846 [catSel] => 1 [useFBGURLInfo] => 1 [rpstOn] => 1 [rpstDays] => 3 [rpstHrs] => 0 [rpstMins] => 0 [rpstRndMins] => 10 [rpstPostIncl] => nxsi2fb [rpstType] => 1 [rpstTimeType] => A [rpstFromTime] => [rpstToTime] => [rpstOLDays] => 7 [rpstNWDays] => 1000 [rpstBtwHrsType] => A [rpstBtwHrsT] => 21 [rpstBtwHrsF] => 16 [rpstBtwDays] => Array ( [0] => 7 [1] => 1 [2] => 2 [3] => 3 [4] => 4 [5] => 5 [6] => 6 ) [rpstNxTime] => 1391011383 [rpstLastShTime] => 1391011207 [rpstLastPostTime] => 2014-01-08 07:46:47 [rpstLastPostID] => 4068 [ii] => 2 [pType] => aj [isPosted] => 1 [imgToUse] => [urlToUse] => [rpstOnlyPUP] => 0 [nxsCPTSeld] => a:1:{i:0;s:4:”post”;} [tagsSel] => [tagsSelX] => [timeToRun] => ) ARGS:

          Array ( [orderby] => rand [posts_per_page] => 1 [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => publish [suppress_filters] => )
          [2014-01-29 16:00:11] – [Posted] [Facebook – FB Harmon Concrete] – OK – Message Posted | PostID: 4068 – Floor Restoration With Epoxy Tile |aj

          #129677
          Jimmy Harmon
          Participant

            Just updated to the latest version, so I’ll see if that helps.

            #131438
            Jimmy Harmon
            Participant

              Updating did not help the problem. Had an automatic post tonight and it posted the same 2 posts at the same exact time. Can someone please help. I feel as if I cannot use the plugin for fear of needing to check it every time it’s supposed to post something. I may as well manually post them.

              I love the plugin!

              #132727
              Jimmy Harmon
              Participant

                Should I put in a support ticket? I thought we could do it through the forums, but I haven’t received much response.

                #133034
                NextScripts.com
                Participant
                  #139808
                  Joe
                  Participant

                    I have the same problem and I’ve submitted a ticket with no response. So above you say that the OA has cron racing, and in the FAQ it says, that all these problems are because of an “unhealthy wp cron”, but there are no clear suggestions on how to fix it.

                    Personally, I use the unix cron setup that you guys have in the FAQ, so my wp cron is disabled in the wp config file, but is run by the unix cron functionality.

                    What do I need to do to fix this issue?

                    #139848
                    NextScripts.com
                    Participant

                      Everything you need is mentioned at the link above.

                      The article suggests you to disable WP Cron and setup a real cron that runs every minute.

                      If you look, you will see that your WP Cron is activated several times per second. As the result you got racing and duplicate postings. Please setup your cron to correctly run not more then once per minute and it will work.

                      I know you said that your “cron is setup correctly”, but you can look at the code if you like. there is nothing that triggers reposter to run other then a direct call from WP Cron. Look at the file nxs_functions.php line 891. function nxs_rePoster().

                      Here is the line:

                      if (stripos($_SERVER[“REQUEST_URI”], ‘wp-cron.php’)===false) return false;

                      If you don’t understand PHP, this line means that if wp-cron.php is NOT found in the request URL, then execution of the function nxs_rePoster() will be stopped with “false” return.

                      That’s it. NO ‘wp-cron.php’ – NO re-posting.

                      Your log shows that function nxs_rePoster() executed every second, which means something is calling wp-cron.php every second. This is not a sign of “correctly setup cron”

                      #139912
                      Joe
                      Participant

                        Ok let’s take this step by step since I don’t seem to get you or you, me.
                        I re-setup all my cron jobs in Cpanel.I set them up to run once an hour (they were already set this way but just in case I did it again). I used this command:
                        wget -O /dev/null https://www.mywebsite.com/wp-cron.php?doing_wp_cron > /dev/null 2>&1
                        I checked wpcron.php for any abnormalities, I don’t see any.
                        On the posting settings I have the “Publish Immediately” option selected, instead of the “Use WP Cron to Schedule autoposts”—is that correct?
                        Because with this setup I still get a hundred posts a minute!!! I cleared the cache from w3 cache in case some of the code is also being cached or something…I still get 100 or more posts a second.
                        Here’s the interesting thing. I turned everything off (unchecked all the social network boxes and clicked “update setting”) and for some reason it is continuing to post on Facebook.
                        Hmmph….

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.