• I did a test post to my blog yesterday so I could check and see if it posted to FB – I then commented on the post through Facebook, when I came to my blog tonight I had 26 comments (25 were duplicates of my one comment) what would be causing this?

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Contributor B.

    (@bandonrandon)

    We have a bug report of this happening in our tracking system. This is the second report of this occurring. I don’t use this feature but will do some testing and hopefully get back to you.

    Do you still have the comments in the trash? If so can you tell me was the time-stamp on the comments each hour? Were there any special characters(non-English) in your original comment?

    If you could provide us with as much info as possible we’ll look into getting this fixed.

    Thread Starter leecraven

    (@leecraven)

    For some reason I get about 12 or so comments a day (from my one test post from facebook, it’s the same comments re-synced) the time & date stamp is the same on every single comment “2010/09/23 at 11:14 pm”

    My facebook message was “Looks like it worked 😀” Although the smiley is “😀” on facebook in WP it shows the smiley face.

    Plugin Contributor B.

    (@bandonrandon)

    Humm… Have you made another test comment since then? If so do you have the same result?

    Thread Starter leecraven

    (@leecraven)

    Not tried yet, I will throw one on there now and see if it gives the same results.

    Thread Starter leecraven

    (@leecraven)

    The plugin has not pulled in my second comment yet but the one reported initially has pulled in another 10 duplicates in. 10 per day.

    Plugin Contributor B.

    (@bandonrandon)

    That’s really intresting. Can I be annoying and ask you to try a third test comment? Also, what happens if you delete the first test comment from FB?

    I have no idea what’s causing this just trying to figure out what will and won’t do it.

    Thread Starter leecraven

    (@leecraven)

    Third comment is already up – Now I’m getting duplicates still all my comment says is:
    “Just sharing some love for the iPad is all…”

    It was created at 2010/09/28 at 1:25 am

    And I have 5 duplicate comments at this current time of posting.

    Plugin Author John Eckman

    (@johneckman)

    @leecraven – sorry I haven’t been able to look into this yet.

    There must some kind of timezone issue going on here. When wpbook gets a comment from Facebook, it sets metadata in WordPress to recognize the most recent fetched comment’s time – then next time it looks it only looks for comments newer than that.

    Is your server’s time set correctly?

    Is your UTC offset set in WordPress settings?

    Do you have access to your WordPress database directly, to look at the postmeta tables and find some values? If not, perhaps I can make a specific debug build.

    Thread Starter leecraven

    (@leecraven)

    Hey John,

    No worries, here is my post_meta.sql – I just exported it…

    http://pastie.org/1197518

    Plugin Author John Eckman

    (@johneckman)

    So I see two posts there – post 56 with a _wpbook_page_stream_id of 241882176551_444746346551, and post 58, with a _wpbook_page_stream_id of 241882176551_446283011551.

    For each of those posts, there’s also a _wpbook_page_stream_time, which starts out set to zero, and then whenever a comment gets imported should get set to the timestamp of the comment.

    For some reason this isn’t happening in your case – the comment is getting imported and posted, but the update call for _wpbook_page_stream_time fails somehow, leaving it set to zero.

    Can you enable debugging and post your debug file?

    Thread Starter leecraven

    (@leecraven)

    I hope this is what you mean? I just enabled debugging and had it write to a .log and this is what I get:

    http://pastie.org/1197700

    Plugin Author John Eckman

    (@johneckman)

    No, what I meant is there is an “enable debugging” setting in WPBook settings page in WordPress, which creates a debug.txt file inside the WPBook directory with key info in it.

    From reading this, though, it seems you also have the Simple Facebook Connect plugin installed – I don’t actually know that they two coordinate well- that may cause issues.

    Thread Starter leecraven

    (@leecraven)

    Really odd I already had debugging enabled in WPBook – Although there is no debug file in the WPBook plugin folder, I just created one now though.

    I use the simple FBConnect so I can have the “Like” button in my posts, I will disable it and see if it fixes anything.

    Plugin Author John Eckman

    (@johneckman)

    So no file named debug.txt gets created in the wp-content/plugins/wpbook/ folder despite having “Enable WPBook to create a debug file” checked?

    Might be a permissions issue for that directory?

    Thread Starter leecraven

    (@leecraven)

    I checked the permissions they are correct. I just did another test comment seeing as I removed the SFC plugin, I’ll see if that fixes the issue John.

    Thank you for being so fast replying also. I really appreciate the help.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Plugin: WPBook] Importing comments from facebook’ is closed to new replies.