• Hi John

    Any idea where i can start to investigate why the cron job is not running to import comments made on facebook to website? – i can post to group and page fine!

    Ive looked in debug file and it only details actions taken when posting to facebook.

    Last few entries

    2012-08-21 20:19:58 : publish_to_facebook running, target_admin is 647375209
    2012-08-21 20:19:58 : Post ID is 5258
    2012-08-21 20:19:58 : My permalink is https://www.f*******************
    2012-08-21 20:19:58 : Function does not exist, or no thumb
    2012-08-21 20:19:58 : Post thumbail is
    2012-08-21 20:19:58 : Post share link is
    2012-08-21 20:19:58 : Past stream_publish, fb_response is
    2012-08-21 20:19:58 : Group access token is A******************
    2012-08-21 20:19:58 : Publishing to group 2*****************
    2012-08-21 20:19:58 : Publishing to group, image is
    2012-08-21 20:20:00 : Just published to group via api, fb_response is Array
    (
        [id] => 2**********************8
    )
    
    2012-08-21 20:20:00 : Publishing to page 1*************
    2012-08-21 20:20:00 : Publishing to page, image is
    2012-08-21 20:20:01 : Just published as page to api, fb_response is Array
    (
        [id] => 1********************8
    )
    
    2012-08-23 08:20:37 : publish_to_facebook running, target_admin is 647375209
    2012-08-23 08:20:37 : Post ID is 5264
    2012-08-23 08:20:37 : My permalink is https://www.f********************
    2012-08-23 08:20:37 : Function does not exist, or no thumb
    2012-08-23 08:20:37 : Post thumbail is
    2012-08-23 08:20:37 : Post share link is
    2012-08-23 08:20:37 : Past stream_publish, fb_response is
    2012-08-23 08:20:37 : Group access token is A***********************************************D
    2012-08-23 08:20:37 : Publishing to group 2****************
    2012-08-23 08:20:37 : Publishing to group, image is
    2012-08-23 08:20:39 : Just published to group via api, fb_response is Array
    (
        [id] => 2*******************
    )
    
    2012-08-23 08:20:39 : Publishing to page 1***************
    2012-08-23 08:20:39 : Publishing to page, image is
    2012-08-23 08:20:40 : Just published as page to api, fb_response is Array
    (
        [id] => 1*******************
    )

    settings are:
    Stream Debug Options
    tick- Enable WPBook to create a debug file
    tick- Show errors posting to Facebook Stream

    not ticked – Disable Facebook SSL verification

    Stream Comment Options
    tick – Import comments from Facebook Walls

    tick – Automatically approve imported Wall comments

    For how many days should WPBook look for comments on Facebook Walls?:

    What email address should WPBook associate with imported comments? – no email

    tick – Show Facebook avatars on imported comments

    https://www.ads-software.com/extend/plugins/wpbook-lite/

Viewing 5 replies - 1 through 5 (of 5 total)
  • If debugging is enabled, you should see a wpbook_debug.txt in the directory with your plugin. (This is different than the wpbook_pub_debug.txt file which tracks publishing)

    Can you use a plugin like Core Control to see if wp-cron is running and to try running the wpbook_import_comments() task attached to wpbook_cron_job?

    Comment imports relies on WordPress’ built in wp-cron, so if that isn’t running it will not happen.

    Thread Starter csimpson

    (@csimpson)

    thanks john, just installed core control as there is no wpbook_debug.txt file anywhere in plugin folder(s). Ill keep posted, thanks

    Thread Starter csimpson

    (@csimpson)

    just run cron with aid of Core Control, and I do now see the debug file.

    however:

    2012-09-07 17:59:56 : Cron Running
    2012-09-07 17:59:56 : Access token is AAADV3yPklSUBALtjgq8yJZBTfE4wbcv7ZB0TRb91ZA6xlhhhnR4Ak0AShXpw86ZAY3zbjGzwZCvjZBItaGYfeXYz6oZAsCGJZBdqRfHJECZCTMwZDZD
    2012-09-07 17:59:56 : response is Array
    2012-09-07 17:59:56 : error type is
    2012-09-07 17:59:56 : error message is
    2012-09-07 17:59:56 : Getting posts, SQL was Select ID FROM wp_posts WHERE post_date BETWEEN ‘2012-09-05 17:59:56’ AND ‘2012-09-07 17:59:56’
    2012-09-07 17:59:56 : No posts to examine
    2012-09-07 18:02:38 : Cron Running
    2012-09-07 18:02:38 : Access token is AAADV3yPklSUBALtjgq8yJZBTfE4wbcv7ZB0TRb91ZA6xlhhhnR4Ak0AShXpw86ZAY3zbjGzwZCvjZBItaGYfeXYz6oZAsCGJZBdqRfHJECZCTMwZDZD
    2012-09-07 18:02:39 : response is Array
    2012-09-07 18:02:39 : error type is
    2012-09-07 18:02:39 : error message is
    2012-09-07 18:02:39 : Getting posts, SQL was Select ID FROM wp_posts WHERE post_date BETWEEN ‘2012-09-05 18:02:39’ AND ‘2012-09-07 18:02:39’
    2012-09-07 18:02:39 : No posts to examine

    after posting, and making a comment on post, no comments are coming in. This did work but has stopped.

    regards Craig

    Hmm. This means there’s a bug in 1.5.1, sorry.

    I will look into it this afternoon

    Just tagged 1.5.2 – should show up in the repository shortly.

    Let me know if that doesn’t solve your import problem

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WPBook Lite] Comments not importing as cron not running’ is closed to new replies.