WordPress.org

Ready to get started?Download WordPress

Forums

WPBook
Comments from fb wall not importing (26 posts)

  1. cfengland
    Member
    Posted 3 years ago #

    Although I feel like I've read everyone else's issues with the importing feature, I'm still at a loss.

    Basically, my blog post is posting to my facebook profile page, but the comments are not importing.

    I have established an infinite session key and I have enabled wpbook to create a debug file.

    Any help would be greatly appreciated!

  2. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    @cfengland - is a debug file getting created? It would be in your /wp-content/plugins/wpbook/ folder

    If so, can you send it to me? (eckman.john at gmail.com)

    If not, it may be that wp-cron isn't working on your blog for some reason. You can install a plugin like Core Control in order to see what wp-cron tasks are scheduled, and then you can trigger them as well.

    Just to be clear, you're hoping to import comments made on your Facebook profile page wall against excerpts to blog posts posted to that wall by WPBook?

    Sometimes folks expect something else to happen. ;)

  3. cfengland
    Member
    Posted 3 years ago #

    Hey, John - thanks for the response.

    Ok - maybe I am expecting something else to happen, ha. I was under the impression, that the post would post to my wall, then the comments under that post would post to my blog post wall (http://rawxy.com). Am I confused here?

  4. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    No, that sounds about right.

    So your blog posts are posting to your wall, and people are commenting on those posts, but the comments aren't being imported to Facebook?

    have you validated that the wp-cron task is scheduled and running? (You'll need core control, which I linked to above, to validate this - or any other wp-cron plugin).

    Is a debug.txt file created?

    If wp-cron is running but no file gets created, you may need to change the permissions on the wpbook directory.

  5. cfengland
    Member
    Posted 3 years ago #

    Ok, just wanted to make sure I was on the right path with my expectations.

    Correct, when I publish a post in WP it publishes to my FB wall. However, when someone comments on my FB wall, it isn't publishing to my WP post/wall.

    When I go to wp-content/plugins/wpbook/ - then I only see admin_includes, includes, and theme. No 'folder'

    I just installed and activated Core Control, as well.

  6. cfengland
    Member
    Posted 3 years ago #

    Just emailed you the core_control_cron.php file.

    I feel slightly out of my league here... I understand coding, but only to an extent, ha.

  7. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    So in /wp-content/plugins/wpbook/ you should see a debug.txt file created.

    When you activate Core Control, and turn on the "Cron Module" inside it (in your WordPress Dashboard, click on Core Control in the "Tools" Section, then activate Cron Module.

    Once that's activated, you should see a "Cron Tasks" link at the top of that page - that will show a list of jobs currently scheduled for wp-cron.

    There should be one scheduled for hourly called "wpbook_cron_job"

    Hit "run now" on that task and see if it throws errors.

    I have seen cases where the hosting company doesn't allow outbound http access - so your wordpress instance can't reach out to Facebook to get comments.

  8. cfengland
    Member
    Posted 3 years ago #

    Nope, not finding a debug.txt file :(

    And, as far as the errors go, I ran the wpbook_cron_job and nothing came up.

    I'm using GoDaddy for my hosting.

  9. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    Do you have an infinite session key? In your WPBook settings inside Facebook? WPBook needs this to be able to login to Facebook as you.

    Does it look like this format:

    2.PpBi6My_r2_pP34gdYk8g__.3600.1296471600-519325696

    or this format?:

    ebf556p3c5h578eg4jkd53afa0-519224696

  10. cfengland
    Member
    Posted 3 years ago #

    Yes, I do have an infinite session key, and, it looks like the former of the two (2.PpBi6My_r2_pP34gdYk8g__.3600.1296471600-519325696)

  11. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    Might be worth checking out this thread because it may be your infinite-session -key that is the issue.

  12. cfengland
    Member
    Posted 3 years ago #

    Thanks, great - Just followed the instructions in that link and was given a 6 digit infinite code.

    Should I be concerned as to the missing debug file?

  13. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    Let's try the new infinite session key first - the one that doesn't have 3600 in it.

    The debug.txt may not be created because of permissions on the wp-content/plugins/wpbook/ folder - you may need to enable write permissions on that directory for now to test it.

  14. cfengland
    Member
    Posted 3 years ago #

    Thanks - I've already put the new key in.

    Should I just give it a few hours before trying the to enable the write permissions?

  15. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    Sure - the cron job should be set to run hourly. So let's see if it makes any progress first, then worry about getting a better debug output.

  16. cfengland
    Member
    Posted 3 years ago #

    Great - Thanks again - I'll keep you updated!

  17. marcel_clevertech
    Member
    Posted 3 years ago #

    Hello Jon,
    Thanks a lot for your great job!
    I read the above comments and a few other post related to same problem.
    I'm having a similar problem can't get the comments from FB wall to Wp website.

    To have point to start form I sent you my debug.txt file.
    Please give me an advice.
    Thanks in advance!

    Regards,
    Marcel

  18. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    Looks to me from your debug.txt like perhaps you have not set an infinite session key?

  19. cfengland
    Member
    Posted 3 years ago #

    Honestly, I just gave up on the issue, as FB comments still aren't posting to WP wall. I also deactivated and then reactivated - which did create a debug text, but still, comments aren't importing :(

  20. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    @cfengland sorry to hear it didn't work for you.

    I can only troubleshoot so much without access to the server, logs, configuration, etc.

    I know it works for me on several different blogs and I know it works for many others - why it doesn't work in one specific scenario can be very challenging to track down.

    You might check out WordBooker which does similarly import comments.

  21. cfengland
    Member
    Posted 3 years ago #

    Oh, not a problem - I appreciated your help any who! I just figured it was something to do with my hosting, or even (gasp) a user-error, haha... I'm leaning towards the later, as it's very likely I could have messed something up!

  22. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    @marcel_clevertech Interesting.

    In your case it seems to fail just after line 111 in wpbook_cron.php, right after it fetches the number of posts to examine.

    You can see in your debug.txt it outputs:
    How many posts to consider? 74

    And then immediately starts again with the next cron job.

    Are there any entries in your WordPress database, in the postmeta table, where the "meta_key" value contains wpbook? Entries with keys like: _wpbook_user_stream_time, _wpbook_page_stream_time, _wpbook_user_stream_id, or _wpbook_page_stream_id?

    Have you successfully posted excerpts to your wall, or the wall of your page, that came via WPBook?

  23. marcel_clevertech
    Member
    Posted 3 years ago #

    Jon,
    About your previous question.

    Yes, the posts are present on Wall page http://www.facebook.com/kutys?ref=ts and we are getting the comments from app page to WP but not from Wall.
    Do I have to check my server for cURL and fOpen if what I mentioned above works?

    Thanks,
    M

  24. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    @marcel

    No need to check on cURL / fopen, but please do check your WordPress database, specifically your postmeta table, to see if it contains entries matching _wpbook_user_stream_time, _wpbook_page_stream_time, _wpbook_user_stream_id, or _wpbook_page_stream_id

  25. marcel_clevertech
    Member
    Posted 3 years ago #

    Jon,
    Checked an seems that there no such tables.
    Please advice what shell I do.
    Thanks
    P.S. Sent you a DB's table screenshot.

  26. johneckman
    Member
    Plugin Author

    Posted 3 years ago #

    Not tables, but rows in the wp_postmeta table - where the "key" matches one of those values.

    These are inserted by WPBook when it successfully posts to Facebook, and are used by WPBook to track what comments in FB need to be imported.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags