I've added fb:comments to a page that sits in an IFrame in another page. If the user clicks the "Post comment to my Facebook profile" the source URL posted on their Facebook wall is the IFrame source, and not the parent page. Is there a way to change this URL in the fb:comment options?
I've tried the callbackurl & returnurl options, and neither of those work. Also, setting opengraph meta tags on the IFrame source doesn't work either.
*edit: Code 开发者_开发技巧requested
<fb:comments canpost='false'></fb:comments>
If you know the parent page url, set it in the href value of the comments plugin like this:
<fb:comments href="http://urlOfOuterPage.com"></fb:comments>
精彩评论