Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author we8u

    (@we8u)

    Hi Aaron. When you coded it by hand, did you have something like this?

    <fb:comments href="<?php the_permalink(); ?>"></fb:comments>

    If so, you can try enabling both v1 and v2 (under the plugin’s settings page) and see if the old comments show up.

    I’m guessing before you had something like the above, or just left it blank so it would use the page as an xid? If so, then your guess about the URL is correct, and enabling v1 and v2 both should show the old comments.

    Let me know how it works out.

    shaun

    Thread Starter Aaron Ross Powell

    (@aaronpowell)

    Shaun-

    That did fix it. At least, the old v2 comments are showing up. Is there a way to not display the v1 comments box, too?

    And, while the comments are working, notifications of new comments are not. I’m not recieiving emails when new comments show up, nor am I getting notified in Facebook (I turned on that open and set my User ID), nor are my test comments showing up in the “Recent Facebook Comments” box on my WP dashboard.

    Plugin Author we8u

    (@we8u)

    • Yeah, in the settings, check “Enable the just-released version of facebook’s comment plugin.”

      And make sure the second option, “Display both v1 and v2 comments”, is unchecked.

    • One reason notifications may not be working is because they are only sent when another facebook user responds. It should be sending them, I checked your page and the admin meta is pointing to your profile and your app id is also there. Those two things should be all it needs.
    • The comments won’t show up in the dashboard until facebook gives us a method to retrieve comments from their new comment system, which should be soon. See the first post in this thread for details.

      One workaround for this is to disable the new v2 comments, then comment on a post using v1, then renable v2. This will cause facebook to store the new comments in v1’s database. Although, it still won’t store threaded replies. But unnested comments will show up on the dashboard and in the widget.

    Thread Starter Aaron Ross Powell

    (@aaronpowell)

    If I turn off “Display both,” then that just puts me back in the situation I described in my first post. I.e., the url it thinks the comments are for is back to that strange one I pasted above, and the comments disappear.

    (Oh, and thanks for all your help on this. I really do appreciate it.)

    Plugin Author we8u

    (@we8u)

    I see, it needs the href='$postUrl' to load those comments.

    To not display v1 comments, in facebook-comments-display.php beginning on line 189 there is this:

    echo "\t<fb:comments xid='$xid' ",
    				"numposts='{$options['numPosts']}' ",
    				"width='{$options['width']}' ",
    				"simple='{$options['noBox']}' ",
    				"publish_feed='$publishToWall' ",
    				"reverse='{$options['reverseOrder']}' ",
    				"css='$customStylesheet' ",
    				"title='$postTitle' ",
    				"url='$postUrl' ",
    				"notify='true'></fb:comments>";

    Change it to this:

    /*
    				echo "\t<fb:comments xid='$xid' ",
    				"numposts='{$options['numPosts']}' ",
    				"width='{$options['width']}' ",
    				"simple='{$options['noBox']}' ",
    				"publish_feed='$publishToWall' ",
    				"reverse='{$options['reverseOrder']}' ",
    				"css='$customStylesheet' ",
    				"title='$postTitle' ",
    				"url='$postUrl' ",
    				"notify='true'></fb:comments>";
    */

    Hopefully this works for you. If not, let me know.

    Thread Starter Aaron Ross Powell

    (@aaronpowell)

    That fixed it. Thank you so much.

    Is the issue with the href=’$posturl’ thing a bug? Or is commenting out this code just something I’ll have to remember to do whenever the plugin updates?

    Plugin Author we8u

    (@we8u)

    Awesome!

    Actually, it was a “just in case” option I added, since it didn’t change anything for me. But I’ll make sure to add a v2 only option in future releases, so you shouldn’t have to change anything. On the options page, I’ll put something like, “v2 Only (uses both href and xid, doesn’t load any comments from v1)”

    Cheers!

    I have a similar problem I think. Sometimes comments are loading ok and sometimes they don’t. For example when I load a post the first time it shows no comments at all and after the 3rd or 4th refresh it loads all comments. I’m using v2 and v1 (new) option. Example url is http://www.exyudownload.com/2946-darko-radovanovic-spava-mala-u-dve-postelje-2011
    Any help?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Facebook Comments for WordPress] strange and broken post/comment/permalink URLS?’ is closed to new replies.