• Hi, I am testing the new beta version but the comments on my recent posts are *not* being imported from Facebook.

    My settings are here: https://hikeinhongkong.com/junk/test1.png

    When I try to reset user session and start over again, I get this message:
    Warning: curl_setopt() expects parameter 2 to be long, string given in /home/techotek/www/www/wp-content/plugins/wordbooker/includes/wordbooker_facebook_curl.php on line 117

    That message repeats a bunch of times.

    Support info:
    Please provide the following information about your installation:
    Wordbooker: 2.1.0
    Wordbooker ID: 254577506873
    Wordbooker Schema: 2.6
    WordPress: 3.3
    Table prefix: wp_
    PHP: 5.3.6
    PHP Memory Usage (MB): 24
    JSON Encode: PHP
    JSON Decode: PHP
    Curl Status: Curl is available and can access Facebook – All is OK
    JSON Version: 1.2.1
    SimpleXML library: 0.1 (provided by PHP)
    HTTP Output Character Encoding: pass
    Internal PHP Character Encoding: UTF-8
    MySQL: 5.1.54
    Database character_set_client : latin1
    Database character_set_connection : latin1
    Database character_set_database : latin1
    Database character_set_filesystem : binary
    Database character_set_results : latin1
    Database character_set_server : latin1
    Database character_set_system : utf8
    Database character_sets_dir : /usr/local/mysql5/share/mysql/charsets/
    Database collation_connection : latin1_swedish_ci
    Database collation_database : latin1_general_ci
    Database collation_server : latin1_swedish_ci
    Server : Apache

Viewing 12 replies - 1 through 12 (of 12 total)
  • Cat got on the keyboard:

    Line 117 of wordbooker_facebook_curl.php

    curl_setopt($ch, CURLOPT_SSL_VERIFTHOST, FALSE);

    when it should be

    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);

    Thread Starter ltcommander

    (@ltcommander)

    Changed it but I keep getting:

    Parse error: syntax error, unexpected $end, expecting ‘`’ in /home/techotek/www/www/wp-content/plugins/wordbooker/includes/wordbooker_facebook_curl.php on line 152

    when I save. Trying to find out where…

    All you need to do it change VERIFT to VERIFY, I was cutting and pasting and chopped the ; off the end of the line – as you can see in the revised post.

    Thread Starter ltcommander

    (@ltcommander)

    Ok, did it. No more error.

    I just set it up again and clicked on Run Comment Handling Now. It says (Next Scheduled fetch is in : 00:07)

    So, will wait 7 mins to see if it will fetch comments from past posts (all created when I had Wordbooker 2.0.X installed).

    Thank you very much for the quick response Steve. Really appreciate it.

    If you’ve clicked on run comment handling now you should get diagnostics displayed- you might need to change the Diagnostic Display level to “show everything”

    Thread Starter ltcommander

    (@ltcommander)

    Thanks. Steve, I read through the diagnostics and did not see anything abnormal.

    Just realized that my Facebook friends commented on the link I shared on Facebook and not the Facebook post itself (from Wordbooker). Thus there are no new comments to import! Apologies!

    Will have to try on the next post.

    Thanks again and will let you know if there are any further issues.

    Thread Starter ltcommander

    (@ltcommander)

    Steve, there’s no way I can Synchronize comments for posts not resulting from Wordbooker directly, right?

    For example, I shared a link on Facebook for one of my posts but it wasn’t posted by Wordbooker. In reality though it corresponds to a post I made on my blog which I want synchronized. There’s no way to manually add a Facebook post ID or something to a blog post ID, right?

    Hope this makes sense!

    No – Wordbooker has no concept of things on Facebook that its not published because it relies on the internal Facebook ID of the object to process them.

    Of course you could try looking at the wordbooker_postcomments table and try manually adding a row – you only need to populate the following fields : fb_post_id,comment_timestamp,wp_post_id,blog_id,user_id

    all of which is pretty obvious – apart from comment_timestamp which for “base” records (i,e the ones Wordbooker runs the comment handling off) is the unix timestamp of the originating blog post.

    Thread Starter ltcommander

    (@ltcommander)

    Understood, thank you

    Thread Starter ltcommander

    (@ltcommander)

    Steve, on the latest version beta 5, (it still says 2.0.9 under WordPress), there is this error when I post:

    Warning: Invalid argument supplied for foreach() in /home/techotek/www/www/wp-content/plugins/wordbooker/wordbooker.php on line 1363

    Warning: Cannot modify header information – headers already sent by (output started at /home/techotek/www/www/wp-content/plugins/wordbooker/wordbooker.php:1363) in /home/techotek/www/www/wp-includes/pluggable.php on line 866

    However, it seems to work, it posted on Facebook

    Thread Starter ltcommander

    (@ltcommander)

    Also, I am not sure importing comments works. Just tried it. What info can I give you to help test this?
    Thanks Steve.

    You need to check all the comment handing options are set properly. If they are then I’ll need diagnostic logs. Best thing to do it take it to the support forums:

    https://wordbooker.tty.org.uk/supportforums/

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Wordbooker 2.1.0 (beta)] Problems with comments’ is closed to new replies.