Title: [Plugin: WPBook] Importing comments from facebook
Last modified: August 19, 2016

---

# [Plugin: WPBook] Importing comments from facebook

 *  [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/)
 * I did a test post to my blog yesterday so I could check and see if it posted 
   to FB – I then commented on the post through Facebook, when I came to my blog
   tonight I had 26 comments (25 were duplicates of my one comment) what would be
   causing this?

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

1 [2](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/page/2/?output_format=md)

 *  Plugin Contributor [B.](https://wordpress.org/support/users/bandonrandon/)
 * (@bandonrandon)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1690822)
 * We have a bug report of this happening in our tracking system. This is the second
   report of this occurring. I don’t use this feature but will do some testing and
   hopefully get back to you.
 * Do you still have the comments in the trash? If so can you tell me was the time-
   stamp on the comments each hour? Were there any special characters(non-English)
   in your original comment?
 * If you could provide us with as much info as possible we’ll look into getting
   this fixed.
 *  Thread Starter [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1690925)
 * For some reason I get about 12 or so comments a day (from my one test post from
   facebook, it’s the same comments re-synced) the time & date stamp is the same
   on every single comment “2010/09/23 at 11:14 pm”
 * My facebook message was “_Looks like it worked 😀_” Although the smiley is “**
   😀**” on facebook in WP it shows the smiley face.
 *  Plugin Contributor [B.](https://wordpress.org/support/users/bandonrandon/)
 * (@bandonrandon)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1690929)
 * Humm… Have you made another test comment since then? If so do you have the same
   result?
 *  Thread Starter [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1690930)
 * Not tried yet, I will throw one on there now and see if it gives the same results.
 *  Thread Starter [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1690934)
 * The plugin has not pulled in my second comment yet but the one reported initially
   has pulled in another 10 duplicates in. 10 per day.
 *  Plugin Contributor [B.](https://wordpress.org/support/users/bandonrandon/)
 * (@bandonrandon)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1690946)
 * That’s really intresting. Can I be annoying and ask you to try a third test comment?
   Also, what happens if you delete the first test comment from FB?
 * I have no idea what’s causing this just trying to figure out what will and won’t
   do it.
 *  Thread Starter [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1690947)
 * Third comment is already up – Now I’m getting duplicates still all my comment
   says is:
    “Just sharing some love for the iPad is all…”
 * It was created at **_2010/09/28 at 1:25 am_**
 * And I have 5 duplicate comments at this current time of posting.
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1691007)
 * [@leecraven](https://wordpress.org/support/users/leecraven/) – sorry I haven’t
   been able to look into this yet.
 * There must some kind of timezone issue going on here. When wpbook gets a comment
   from Facebook, it sets metadata in WordPress to recognize the most recent fetched
   comment’s time – then next time it looks it only looks for comments newer than
   that.
 * Is your server’s time set correctly?
 * Is your UTC offset set in WordPress settings?
 * Do you have access to your WordPress database directly, to look at the postmeta
   tables and find some values? If not, perhaps I can make a specific debug build.
 *  Thread Starter [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1691008)
 * Hey John,
 * No worries, here is my post_meta.sql – I just exported it…
 * [http://pastie.org/1197518](http://pastie.org/1197518)
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1691009)
 * So I see two posts there – post 56 with a _wpbook_page_stream_id of 241882176551_444746346551,
   and post 58, with a _wpbook_page_stream_id of 241882176551_446283011551.
 * For each of those posts, there’s also a _wpbook_page_stream_time, which starts
   out set to zero, and then whenever a comment gets imported should get set to 
   the timestamp of the comment.
 * For some reason this isn’t happening in your case – the comment is getting imported
   and posted, but the update call for _wpbook_page_stream_time fails somehow, leaving
   it set to zero.
 * Can you enable debugging and post your debug file?
 *  Thread Starter [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1691010)
 * I hope this is what you mean? I just enabled debugging and had it write to a .
   log and this is what I get:
 * [http://pastie.org/1197700](http://pastie.org/1197700)
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1691015)
 * No, what I meant is there is an “enable debugging” setting in WPBook settings
   page in WordPress, which creates a debug.txt file inside the WPBook directory
   with key info in it.
 * From reading this, though, it seems you also have the Simple Facebook Connect
   plugin installed – I don’t actually know that they two coordinate well- that 
   may cause issues.
 *  Thread Starter [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1691017)
 * Really odd I already had debugging enabled in WPBook – Although there is no debug
   file in the WPBook plugin folder, I just created one now though.
 * I use the simple FBConnect so I can have the “Like” button in my posts, I will
   disable it and see if it fixes anything.
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1691019)
 * So no file named debug.txt gets created in the wp-content/plugins/wpbook/ folder
   despite having “Enable WPBook to create a debug file” checked?
 * Might be a permissions issue for that directory?
 *  Thread Starter [leecraven](https://wordpress.org/support/users/leecraven/)
 * (@leecraven)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/#post-1691021)
 * I checked the permissions they are correct. I just did another test comment seeing
   as I removed the SFC plugin, I’ll see if that fixes the issue John.
 * Thank you for being so fast replying also. I really appreciate the help.

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

1 [2](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/page/2/?output_format=md)

The topic ‘[Plugin: WPBook] Importing comments from facebook’ is closed to new replies.

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

 * 21 replies
 * 4 participants
 * Last reply from: [e_ticket](https://wordpress.org/support/users/e_ticket/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wpbook-importing-comments-from-facebook/page/2/#post-1691086)
 * Status: not resolved