Title: [Plugin: WPBook] Problem with importing comments [2.1.2]
Last modified: August 19, 2016

---

# [Plugin: WPBook] Problem with importing comments [2.1.2]

 *  Resolved [kokonad](https://wordpress.org/support/users/kokonad/)
 * (@kokonad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/)
 * HI John
    I upgraded the plugin as per instructions and got all permissions working.
   Everything looks fine in terms of posting to wall and page. However, it does 
   not seem to be importing comments anymore (there have been a few comments). I
   have wpbook_debug.txt taking logs, but even that does not seem to show any error(
   it has definitely changed from 2.0.x). I see that it considers 10 posts, finds
   4 meta-posts… but no comments in any of them. This is a typical cron output –
 *     ```
       2011-03-19 16:07:37 : Cron Running
       2011-03-19 16:07:37 : Facebook object: Facebook Object
       (
           [appId:protected] => 170119729692464
           [apiSecret:protected] => 7bd6fdsiddghwjgwewiqofvssdjd0de3e
           [session:protected] =>
           [signedRequest:protected] =>
           [sessionLoaded:protected] =>
           [cookieSupport:protected] => 1
           [baseDomain:protected] =>
           [fileUploadSupport:protected] =>
       )
   
       2011-03-19 16:07:37 : Getting posts, SQL was Select ID FROM wp_zzoap7_posts WHERE post_date BETWEEN '2011-03-09 16:07:37' AND '2011-03-19 16:07:37'
       2011-03-19 16:07:37 : How many posts to consider? 10
       2011-03-19 16:07:37 : How many meta_posts found? 4
       2011-03-19 16:07:37 : Examining a meta_post, post ID is 521, meta key = _wpbook_user_stream_id
       2011-03-19 16:07:37 : FBcomments, fbsql is SELECT time,text,fromid,xid,post_id FROM comment WHERE post_id='519325696_10150445117445697' AND time > '0' ORDER BY time ASC
       2011-03-19 16:07:37 : FBcommentslist is 1
       2011-03-19 16:07:37 : Number of comments for this post- 0
       2011-03-19 16:07:37 : Examining a meta_post, post ID is 521, meta key = _wpbook_user_stream_time
       2011-03-19 16:07:37 : Skipping meta key _wpbook_user_stream_time
       2011-03-19 16:07:37 : Examining a meta_post, post ID is 521, meta key = _wpbook_page_stream_id
       2011-03-19 16:07:37 : FBcomments, fbsql is SELECT time,text,fromid,xid,post_id FROM comment WHERE post_id='166979243339977_187527437951824' AND time > '0' ORDER BY time ASC
       2011-03-19 16:07:37 : FBcommentslist is 1
       2011-03-19 16:07:37 : Number of comments for this post- 0
       2011-03-19 16:07:37 : Examining a meta_post, post ID is 521, meta key = _wpbook_page_stream_time
       2011-03-19 16:07:37 : Skipping meta key _wpbook_page_stream_time
       2011-03-19 16:07:37 : How many meta_posts found? 4
       2011-03-19 16:07:37 : Examining a meta_post, post ID is 523, meta key = _wpbook_user_stream_id
       2011-03-19 16:07:37 : FBcomments, fbsql is SELECT time,text,fromid,xid,post_id FROM comment WHERE post_id='519325696_10150447606950697' AND time > '0' ORDER BY time ASC
       2011-03-19 16:07:38 : FBcommentslist is 1
       2011-03-19 16:07:38 : Number of comments for this post- 0
       2011-03-19 16:07:38 : Examining a meta_post, post ID is 523, meta key = _wpbook_user_stream_time
       2011-03-19 16:07:38 : Skipping meta key _wpbook_user_stream_time
       2011-03-19 16:07:38 : Examining a meta_post, post ID is 523, meta key = _wpbook_page_stream_id
       2011-03-19 16:07:38 : FBcomments, fbsql is SELECT time,text,fromid,xid,post_id FROM comment WHERE post_id='166979243339977_187972837907284' AND time > '0' ORDER BY time ASC
       2011-03-19 16:07:38 : FBcommentslist is 1
       2011-03-19 16:07:38 : Number of comments for this post- 0
       2011-03-19 16:07:38 : Examining a meta_post, post ID is 523, meta key = _wpbook_page_stream_time
       2011-03-19 16:07:38 : Skipping meta key _wpbook_page_stream_time
       2011-03-19 16:07:38 : How many meta_posts found? 4
       2011-03-19 16:07:38 : Examining a meta_post, post ID is 525, meta key = _wpbook_user_stream_id
       2011-03-19 16:07:38 : FBcomments, fbsql is SELECT time,text,fromid,xid,post_id FROM comment WHERE post_id='519325696_10150452834880697' AND time > '0' ORDER BY time ASC
       2011-03-19 16:07:38 : FBcommentslist is 1
       2011-03-19 16:07:38 : Number of comments for this post- 0
       2011-03-19 16:07:38 : Examining a meta_post, post ID is 525, meta key = _wpbook_user_stream_time
       2011-03-19 16:07:38 : Skipping meta key _wpbook_user_stream_time
       2011-03-19 16:07:38 : Examining a meta_post, post ID is 525, meta key = _wpbook_page_stream_id
       2011-03-19 16:07:38 : FBcomments, fbsql is SELECT time,text,fromid,xid,post_id FROM comment WHERE post_id='166979243339977_188876791150222' AND time > '0' ORDER BY time ASC
       2011-03-19 16:07:38 : FBcommentslist is 1
       2011-03-19 16:07:38 : Number of comments for this post- 0
       2011-03-19 16:07:38 : Examining a meta_post, post ID is 525, meta key = _wpbook_page_stream_time
       2011-03-19 16:07:38 : Skipping meta key _wpbook_page_stream_time
       2011-03-19 16:07:38 : How many meta_posts found? 4
       2011-03-19 16:07:38 : Examining a meta_post, post ID is 528, meta key = _wpbook_user_stream_id
       2011-03-19 16:07:39 : FBcomments, fbsql is SELECT time,text,fromid,xid,post_id FROM comment WHERE post_id='519325696_10150456596115697' AND time > '0' ORDER BY time ASC
       2011-03-19 16:07:39 : FBcommentslist is 1
       2011-03-19 16:07:39 : Number of comments for this post- 0
       2011-03-19 16:07:39 : Examining a meta_post, post ID is 528, meta key = _wpbook_user_stream_time
       2011-03-19 16:07:39 : Skipping meta key _wpbook_user_stream_time
       2011-03-19 16:07:39 : Examining a meta_post, post ID is 528, meta key = _wpbook_page_stream_id
       2011-03-19 16:07:39 : FBcomments, fbsql is SELECT time,text,fromid,xid,post_id FROM comment WHERE post_id='166979243339977_189586554412579' AND time > '0' ORDER BY time ASC
       2011-03-19 16:07:39 : FBcommentslist is 1
       2011-03-19 16:07:39 : Number of comments for this post- 0
       2011-03-19 16:07:39 : Examining a meta_post, post ID is 528, meta key = _wpbook_page_stream_time
       2011-03-19 16:07:39 : Skipping meta key _wpbook_page_stream_time
       ```
   

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

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

 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986278)
 * Any chance you know if this was working in 2.1 or 2.1.1?
 * I know it is working on my test blog, but it seems like between the FBcommentslist
   is 1 and Number of comments for this post – 0 something is getting missed.
 *  Thread Starter [kokonad](https://wordpress.org/support/users/kokonad/)
 * (@kokonad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986282)
 * Thanks for getting back, John.
    I jumped directly from 2.0.x to 2.1.2, so I don’t
   know about 2.1 or 2.1.2 🙁
 *  [randypollock](https://wordpress.org/support/users/randypollock/)
 * (@randypollock)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986400)
 * I am having the same issue using 2.1.3 – It was working before the upgrade to
   2.1.3 but now it posts to Wall and Page just fine…permissions look good but it
   is not importing any comments.
 * At least I can see it’s not something I did. LOL.
 * …waiting for the fix…
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986409)
 * [@randypollock](https://wordpress.org/support/users/randypollock/) and [@kokonad](https://wordpress.org/support/users/kokonad/)
 * Sorry to hear you’re having trouble with comment importing.
 * Just to help narrow down my troubleshooting, are you trying to import comments
   made against an individual profile’s wall, a fan page’s wall, an application 
   page’s wall, a group page’s wall, or some combination of the above?
 * Can you post, or email to me (eckman.john at gmail.com) your wpbook_debug.txt,
   which is created in your wpbook directory if you have “enable WPBook to create
   debug file” enabled in your wpbook settings?
 * Thanks – I will be looking into this first thing this week
 *  [randypollock](https://wordpress.org/support/users/randypollock/)
 * (@randypollock)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986410)
 * I am trying to post to an individual (me) profile wall. I just turned on debugging
   I’ll email it to you.
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986411)
 * [@kokonad](https://wordpress.org/support/users/kokonad/)
 * Looking at your wpbook_debug.txt, I see these references that are “interesting”–
   spots where WPBook has been able to post to FB and correctly retrieved a postID:
    - _wpbook_user_stream_id: [519325696_10150445117445697](https://graph.facebook.com/519325696_10150445117445697)
    - _wpbook_page_stream_id: [166979243339977_187527437951824](https://graph.facebook.com/166979243339977_187527437951824)
    - _wpbook_user_stream_id: [519325696_10150447606950697](https://graph.facebook.com/519325696_10150447606950697)
    - _wpbook_page_stream_id: [166979243339977_187972837907284](https://graph.facebook.com/166979243339977_187972837907284)
    - _wpbook_user_stream_id: [519325696_10150452834880697](https://graph.facebook.com/519325696_10150452834880697)
    - _wpbook_page_stream_id: [166979243339977_188876791150222](https://graph.facebook.com/166979243339977_188876791150222)
    - _wpbook_user_stream_id: [519325696_10150456596115697](https://graph.facebook.com/519325696_10150456596115697)
    - _wpbook_page_stream_id: [166979243339977_189586554412579](https://graph.facebook.com/166979243339977_189586554412579)
 * That makes 4 posts to a user_stream and 4 posts to a page wall.
 * Each of them is now a link to their representation in the Facebook graph.
 * Which of them has comments you would expect to be imported? I can click on each
   too, but you will have a different result if you are logged in to FB when you
   do so (I think).
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986412)
 * [@kokonad](https://wordpress.org/support/users/kokonad/) – I see these posts 
   having comments in your photoblog page:
 * and
 * But I think these are too long ago to get imported – what is your setting for
   number of days to import?
 *  Thread Starter [kokonad](https://wordpress.org/support/users/kokonad/)
 * (@kokonad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986414)
 * Hi John
    Thanks a ton for looking into this. I have the setting at 10 days. When
   I installed the plugin the comments were less than a day old. It did not work
   back then. 🙁
 *  Thread Starter [kokonad](https://wordpress.org/support/users/kokonad/)
 * (@kokonad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986418)
 * Oh and the comments I am referring to were on my personal wall. I just sent you
   a Facebook friend’s request so you can see that.
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986424)
 * Just checked in a change to wp-content/plugins/wpbook/includes/wp-cron.php which
   I think will fix the comment imports problem.
 * Can you install the “development” version (in about 30 minutes) or grab the individual
   file here and replace the one in your install:
 * [http://plugins.trac.wordpress.org/export/362969/wpbook/trunk/includes/wpbook_cron.php](http://plugins.trac.wordpress.org/export/362969/wpbook/trunk/includes/wpbook_cron.php)
 *  [randypollock](https://wordpress.org/support/users/randypollock/)
 * (@randypollock)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986426)
 * I have replaced the file (13:46 CST) I’ll post again in an hour or so
 *  [randypollock](https://wordpress.org/support/users/randypollock/)
 * (@randypollock)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986427)
 * That has corrected the problem for me. I am receiving comments from my facebook
   wall back to my blog.
 * Thanks for the quick fix…I am assuming it will be pushed to an official update
   for everyone else?
 *  Plugin Author [John Eckman](https://wordpress.org/support/users/johneckman/)
 * (@johneckman)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986428)
 * Yes – 2.1.4 will contain the fix.
 *  Thread Starter [kokonad](https://wordpress.org/support/users/kokonad/)
 * (@kokonad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986476)
 * Sorry, I have been away from the internet 😀
    Ok, just updated to 2.1.4. I am
   sure it will work! 🙂
 *  Thread Starter [kokonad](https://wordpress.org/support/users/kokonad/)
 * (@kokonad)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/#post-1986497)
 * And it did! 🙂 Thanks John!

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

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

The topic ‘[Plugin: WPBook] Problem with importing comments [2.1.2]’ 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/)

 * 19 replies
 * 4 participants
 * Last reply from: [John Eckman](https://wordpress.org/support/users/johneckman/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/plugin-wpbook-problem-with-importing-comments-212/page/2/#post-1986514)
 * Status: resolved