• Resolved kokonad

    (@kokonad)


    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)
  • Plugin Author John Eckman

    (@johneckman)

    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

    (@kokonad)

    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 πŸ™

    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

    (@johneckman)

    @randypollock and @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

    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

    (@johneckman)

    @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:

    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

    (@johneckman)

    @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

    (@kokonad)

    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

    (@kokonad)

    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

    (@johneckman)

    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

    I have replaced the file (13:46 CST) I’ll post again in an hour or so

    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

    (@johneckman)

    Yes – 2.1.4 will contain the fix.

    Thread Starter kokonad

    (@kokonad)

    Sorry, I have been away from the internet πŸ˜€
    Ok, just updated to 2.1.4. I am sure it will work! πŸ™‚

    Thread Starter kokonad

    (@kokonad)

    And it did! πŸ™‚ Thanks John!

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: WPBook] Problem with importing comments [2.1.2]’ is closed to new replies.