I put in my usercontrol(.ascx) the facebook social plugin(code below)

<fb:comments href="my link here" num_posts="2" width="470"></fb:comments>

My problem is it is not showing in my page(when it is in user control). The plugin works fine with aspx but not with the usercontrol.ascx

Member Avatar for LastMitch

Facebook social plugin in .ascx ASP.NET

Did you read this:

http://developers.facebook.com/docs/reference/plugins/comments/

and have you check this:

http://developers.facebook.com/docs/reference/fql/comment/

My problem is it is not showing in my page(when it is in user control). The plugin works fine with aspx but not with the usercontrol.ascx

If the plugin works then read this about the form:

http://msdn.microsoft.com/en-us/library/aa479318.aspx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.