Title: Double Posting
Last modified: August 20, 2016

---

# Double Posting

 *  [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/)
 * When I make a post and publish … goes to facebook – great.
 * When I edit that post and update … also goes to facebook. So if I have like 3-
   4 updates or text edits in a row it blows up my facebook page with repeat posts.
 * What can I do about this?
 * These are also custom post types – which work fine, but the options window is
   not visible on the post edit screen to turn on and off … either all or nothing–
   which may be the issue, but I think it should check that the post exists before
   just publishing to facebook on every update of the post …
 * Also I noticed an odd thing when I went to look at my settings to see if there
   was an option somewhere. It said it wasnt connected and I had to re-authorize
   my account. Log said …
 * Not a WB user (1) and no overide – give up
 * Would love to get this worked out, so any help would be greatly appreciated.
 * Thanks
 * [http://wordpress.org/extend/plugins/wordbooker/](http://wordpress.org/extend/plugins/wordbooker/)

Viewing 15 replies - 1 through 15 (of 55 total)

1 [2](https://wordpress.org/support/topic/double-posting-4-2/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/double-posting-4-2/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/double-posting-4-2/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/double-posting-4-2/page/2/?output_format=md)

 *  Plugin Author [Steve](https://wordpress.org/support/users/steveatty/)
 * (@steveatty)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516017)
 * How are you editing the posts – i.e. are you using the full post edit, the quick
   edit or a remote client. Posted edited though the full editor automatically are
   deselected for publish specifically to stop this happening.
 * If the Wordbooker option box doesn’t appear on the Edit/Add post page then that
   implies that Wordbooker isn’t set up.
 * If you went to the Wordbooker options page and it was saying it needed to be 
   set up then that would imply that your Facebook Auth token has expired.
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516019)
 * Support information? Im using the latest version of wordpress, an the latest 
   version of the plugin.
 * Full post edit screen. When I make a change and click update – it posts again
   to facebook.
 * Not sure if it happens on regular posts yet … havent had a chance to test that,
   but on my custom post types is when I notice the double posts. These are also
   the post types that dont show the individual wordbooker panel.
 * Thank you.
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516021)
 * When I click update – now it goes through the process and I get an error …
 * Error validating access token: The session is invalid because the user logged
   out.
 * Earlier today I was editing a post and it pushed it to facebook 5 times (because
   I updated 5 times). So why now all of a sudden is my access token not valid?
 * Also … in regards to the support info, I think this was what you were looking
   for …
 * Please provide the following information about your installation:
 *  Wordbooker: 2.1.29
    Wordbooker Code Base: 2.1.29 R00 – One of These Days Wordbooker
   ID: 254577506873 Wordbooker Schema: 5.6 WordPress: 3.5.1 Table prefix: BSW_ PHP:
   5.2.17 PHP Memory Limit: 256M PHP Memory Usage (MB): 76.25 JSON Encode: PHP JSON
   Decode: PHP Curl Status: Curl is available and can access Facebook – All is OK(
   Response Time was : 0.616521835327 seconds ) Curl Version: 7.24.0 JSON Version:
   1.2.1 SimpleXML library: 0.1 (provided by PHP) HTTP Output Character Encoding:
   pass Internal PHP Character Encoding: UTF-8 MySQL: 5.5.23-55 Database character_set_client:
   utf8 Database character_set_connection : utf8 Database character_set_database:
   utf8 Database character_set_filesystem : binary Database character_set_results:
   utf8 Database character_set_server : utf8 Database character_set_system : utf8
   Database character_sets_dir : /usr/share/mysql/charsets/ Database collation_connection:
   utf8_general_ci Database collation_database : utf8_unicode_ci Database collation_server:
   utf8_unicode_ci Server : Apache Active Plugins : BAW Post Views Count ( 2.19.11)
   BP Group Management ( 0.5.4 ) BP Show activity liked names ( 1.0 ) BuddyPress
   Template Pack ( 1.2.1 ) BuddyPress Friends Only Activity Stream ( 1.0 ) BuddyPress
   Activity Plus ( 1.4.1 ) BP Group Default Avatar ( 0.1.1 ) BuddyPress Toolbar (
   1.5.1 ) BuddyPress ( 1.6.4 ) BuddyPress Avatar Bubble ( 2.5.1 ) CubePoints Buddypress
   Integration ( 1.9.8.9 ) CubePoints ( 3.2.1 ) Events Manager ( 5.3.6.1 ) GD Star
   Rating ( 1.9.22 ) List e-mails ( 1.0 ) MapPress Easy Google Maps ( 2.39.9 ) Media
   Grid ( 2.11 ) Oomph Clone Widgets ( 2 ) Ultimate Coming Soon Page ( 1.7.2 ) User
   Switching ( 0.7.1 ) WassUp Real Time Analytics ( 1.8.3.1 ) WordPress SEO ( 1.4.1)
   WordPress Social Stream ( 1.4.2 ) WP Clean Up ( 1.2.1 ) WP Favorite Posts ( 1.5.8)
   WP-FB-AutoConnect ( 2.5.11 ) WP FullCalendar ( 0.8.2 ) WordPress Statistics (
   3.0.2 )
 *  Plugin Author [Steve](https://wordpress.org/support/users/steveatty/)
 * (@steveatty)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516023)
 * Custom post types aren’t supported in 2.1.x so very odd things might happen. 
   To fix it – go to the Wordbooker options page and turn off the Default Publish
   Post to Facebook. Then on regular post types you can chose to publish.
 * 2.2 (which is in Beta) supports custom post types and allows you to exclude/include
   them on the main options page and also adds the Wordbooker options block to post
   types you’ve enabled posting on. The reason its still in Beta is that people 
   wont give me feedback on new features such as Custom Post Type/Category support
   so although I _think_ it works I’ve no idea if its got bugs in it
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516064)
 * Ill test it for you. Where is the link to download?
 * Still curious though – I have all posts selected and it “does” push the custom
   post types. But why would it repeat when I update?
 * I did check on regular posts and where I can see the wordbooker panel. On new–
   it has a check in “publish this post to facebook”. After that the check disappears–
   so it wont post again.
 * Wouldnt this “default” behavior also apply to custom post types?
 * Also doesnt explain why suddenly my access token is expired.
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516067)
 * Just found a link on your site for the new version and made the upgrade. Seems
   to work just fine and all custom types are showing. I added the ones I wanted
   to use, and the edit screen now shows the Wordbooker options and the “publish
   to facebook” is checked on new, unchecked on revisions – like it should be.
 * Seems all is well – but doesnt account for why my token keeps expiring.
 *  Plugin Author [Steve](https://wordpress.org/support/users/steveatty/)
 * (@steveatty)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516078)
 * Tokens expiring could be down to several reasons… I can’t remember if the last
   2.2 Beta has the additional server check in to make sure you can access the server
   used in the auth token exchange.
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516085)
 * Okay – but this was an issue also before I upgraded to the beta. Also I just 
   noticed that after updating to the beta, I have this on the top of my custom 
   post pages …
 * Warning: array_key_exists() [function.array-key-exists]: The second argument 
   should be either an array or an object in /wp-content/plugins/wordbooker/includes/
   wordbooker_opengraph.php on line 86
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516086)
 * I checked “Disable in-line production of OpenGraph Tags” and the error went away.
   Maybe my theme was already doing something with OpenGraph ??
 * Anyway … all is good except the access token – and it failed prior to the beta
   upgrade as well.
 *  Plugin Author [Steve](https://wordpress.org/support/users/steveatty/)
 * (@steveatty)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516087)
 * Its a warning… if you Disable open graph tag production then the code throwing
   the warning wont run…. But I know what’s causing it.
 * You need to check your PHP.INI settings as you’re dumping warnings to the screen
   which is big security risk on a production server.
 * If you turn on the “Log Access token swapping” and click on the Reset option 
   can you cut and paste each set of diagnostic messages it displays during the 
   process..
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516094)
 * Sure thing. Ill have to wait until it stops working again though. I dont think
   a successful connection will give you the info you need.
 * php.ini … hostgator doesnt have one.
 *  Plugin Author [Steve](https://wordpress.org/support/users/steveatty/)
 * (@steveatty)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516097)
 * Then talk to hostgator and ask them how to turn off warning messages being dumped
   to the screen. There will be a PHP ini file somewhere.. there has to be:
 * [http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors](http://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors)
 * “Note:
 * This is a feature to support your development and should never be used on production
   systems (e.g. systems connected to the internet). “
 * What is the IP address of your server… so I can check my server logs to see if
   the auth handshake is working.
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516121)
 * Okay, so I did another post and it failed … so I looked at my logs again. Pasted
   below and I left out my name and ID’s on purpose, but you can see where they 
   were supposed to be.
 * Cache Refresh 2013-03-02 00:27:30 Cache Refresh Commence 1
 * Cache Refresh 2013-03-02 00:27:30 Cache Refresh for *my name*
 * Cache Refresh 2013-03-02 00:27:30 UID length : 15
 * Cache Refresh 2013-03-02 00:27:30 Cache processing for user : *my name (fbid)*
 * Cache Refresh 2013-03-02 00:27:30 Getting Permisions for : *fbid*
 * Authorisation Process 2013-03-02 00:27:31 Unable to get information Error validating
   access token: The session is invalid because the user logged out. 99
 * Everything after that failed … so I reset my connection and it gave this info….
 * Authorisation Process 2013-03-02 01:04:06 Getting Userdata –
    Authorisation Process
   2013-03-02 01:04:06 No session found – lets login and authorise – Authorisation
   Process 2013-03-02 01:04:14 Getting Userdata – Authorisation Process 2013-03-
   02 01:04:15 Checking session (2) – Authorisation Process 2013-03-02 01:04:15 
   Session found. Store it – Authorisation Process 2013-03-02 01:04:15 Everything
   looks good so lets ask them to refresh – Access Token Exchange 2013-03-02 01:
   04:15 Access token was AAAAAO0YAejkBAD7c0BDeyBu6eNZCsEWlZAHFZCB7qMHUoKoR80vvE7CRPgB0fjxP2yucEqpeDmZCowRmaQYwiEFzUmkuYVkJGxJkvJZCodKRmmx2fj1XZB–
   Access Token Exchange 2013-03-02 01:04:15 Access token returns – Access Token
   Exchange 2013-03-02 01:04:15 Return code is – Access Token Exchange 2013-03-02
   01:04:15 Access token was AAAAAO0YAejkBAD7c0BDeyBu6eNZCsEWlZAHFZCB7qMHUoKoR80vvE7CRPgB0fjxP2yucEqpeDmZCowRmaQYwiEFzUmkuYVkJGxJkvJZCodKRmmx2fj1XZB–
   Access Token Exchange 2013-03-02 01:04:15 Access token is now AAAAAO0YAejkBAD7c0BDeyBu6eNZCsEWlZAHFZCB7qMHUoKoR80vvE7CRPgB0fjxP2yucEqpeDmZCowRmaQYwiEFzUmkuYVkJGxJkvJZCodKRmmx2fj1XZB–
   Access Token Exchange 2013-03-02 01:04:15 Access token updated –
 * Reload Page …
 * Cache Refresh 2013-03-02 01:04:53 Cache Refresh Commence 1 –
    Cache Refresh 2013-
   03-02 01:04:53 Cache Refresh for – Cache Refresh 2013-03-02 01:04:53 UID length:
   15 – Cache Refresh 2013-03-02 01:04:53 Cache processing for user : *fbid* – Cache
   Refresh 2013-03-02 01:04:53 Getting Permisions for : *fbid* – Cache Refresh 2013-
   03-02 01:04:54 User has permssion : publish_stream – Cache Refresh 2013-03-02
   01:04:54 User has permssion : status_update – Cache Refresh 2013-03-02 01:04:
   54 User has permssion : read_stream – Cache Refresh 2013-03-02 01:04:54 User 
   has permssion : create_note – Cache Refresh 2013-03-02 01:04:54 User has permssion:
   photo_upload – Cache Refresh 2013-03-02 01:04:54 User has permssion : video_upload–
   Cache Refresh 2013-03-02 01:04:54 User has permssion : manage_pages – Cache Refresh
   2013-03-02 01:04:54 User has permssion : read_friendlists – Cache Refresh 2013-
   03-02 01:04:54 Additional Permissions needed : 0 – Cache Refresh 2013-03-02 01:
   04:54 Getting Pages administered by : *fbid* – Cache Refresh 2013-03-02 01:04:
   55 Page info for page ID 169925179822418 *My Page Name* – Cache Refresh 2013-
   03-02 01:04:55 Page info for page ID 215882695093107 *Other Page Name (not used)*–
   Cache Refresh 2013-03-02 01:04:55 Page info for page ID 166809506683954 *Other
   Page Name (not used)* – Cache Refresh 2013-03-02 01:04:55 Getting Groups owned
   or managed by : *fbid* – Cache Refresh 2013-03-02 01:04:56 Getting Friends Lists
   for *fbid* – Cache Refresh 2013-03-02 01:04:57 Setting Status Name as : *My Page
   Name* – Cache Refresh 2013-03-02 01:04:57 Setting status as : Just Updated on
   mydomain.com – Cache Refresh 2013-03-02 01:04:57 Setting Status URL as : [http://www.facebook.com/mypage](http://www.facebook.com/mypage)–
   Cache Refresh 2013-03-02 01:04:58 Setting user name as : *my name* – Cache Refresh
   2013-03-02 01:04:58 Cache Refresh Complete for user *fbid*
 * And … it all works again. For now.
 *  Thread Starter [agMedia34](https://wordpress.org/support/users/agmedia34/)
 * (@agmedia34)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516122)
 * Would this matter if I am logged into my personal account at the same time as
   editing things in wordpress admin for the “page” account? Im logged into facebook
   as me – but using the page as the primary on wordbooker.
 *  Plugin Author [Steve](https://wordpress.org/support/users/steveatty/)
 * (@steveatty)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/#post-3516123)
 * No – as long as you authenticated against you and not against a group/fan wall
   you will be fine. Wordbooker uses the user account to run from.

Viewing 15 replies - 1 through 15 (of 55 total)

1 [2](https://wordpress.org/support/topic/double-posting-4-2/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/double-posting-4-2/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/double-posting-4-2/page/4/?output_format=md)
[→](https://wordpress.org/support/topic/double-posting-4-2/page/2/?output_format=md)

The topic ‘Double Posting’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordbooker.svg)
 * [Wordbooker](https://wordpress.org/plugins/wordbooker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordbooker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordbooker/)
 * [Active Topics](https://wordpress.org/support/plugin/wordbooker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordbooker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordbooker/reviews/)

 * 55 replies
 * 2 participants
 * Last reply from: [Steve](https://wordpress.org/support/users/steveatty/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/double-posting-4-2/page/4/#post-3516259)
 * Status: not resolved