facebook comments with dynamic XID using XFBML ? RRS feed

  • Question

  • User828361186 posted

    Hey i'm using facebook comments in my site http://developers.facebook.com/docs/reference/fbml/comments

    <fb:comments xid="123" canpost="true" candelete="true" publish_feed="false" returnurl=""></fb:comments>

    I want the xid to be dynamic... i tried making a Literal and use 

    LiteralFB.Text = <fb:comments publish_feed=\"false\" xid=\"" + ID + "\" width=\"640\"></fb:comments>;

    And nothing..

    Also tried making the inner HTML of the div conatiner..

    RectFacebookComments.InnerHtml = "<fb:comments publish_feed=\"false\" xid=\"" + ID + "\" width=\"640\"></fb:comments>";

    Any ideas? thanks.

    Friday, September 17, 2010 5:59 AM


All replies