WordPress.org

Ready to get started?Download WordPress

Forums

XID Even Necessary Anymore for Facebook Comments Plugin? (1 post)

  1. tasty.donuts
    Member
    Posted 2 years ago #

    Hi there,

    I am wondering if giving Facebook Social Plugins, specifically the Comments Plugin, an xid, is even worth it. Currently I am planning on using this code for my posts:

    div id="fb-root"></div>
    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    <fb:comments href="<?php $blogurl = get_bloginfo('url'); $postid = get_the_id(); echo  $blogurl . '/?p=' . $postid; ?>" perms="email" num_posts="0" width="629"></fb:comments>

    It returns the href as: http://example.com/?p=30, which I figure should be permanent even if I edit the "permalink" of the URL in the WP post editor.

    Is generating and passing an XID necessary for my comments to work (I don't have any previous ones, this is a new site). If the xid is necessary, how can I pass it to FB?

Topic Closed

This topic has been closed to new replies.

About this Topic