Facebook like button bug
I'm using the facebook like button (both iframe and xfbml), and for some reason facebook strips my URL that ends in this:
ViewReply.aspx开发者_Python百科?r=122
And converts it into this when it posts the 'like' to a wall:
ViewReply.aspx?r=____%3C%21DOCTYPE+html+PUBLIC
It even does this when I put the perfectly fine URL into the fb like widget wizard and "like" it.
Any ideas what is going on? I can't register for the facebook developer forum for some reason (I never receive a signup email) so I figured I'd try here instead.
Thanks.
Try
<iframe src="http://www.facebook.com/plugins/like.php?href=<%# Server.UrlEncode(GetAbsoluteUrl(GetDocumentUrl())) %>&layout=standard&show_faces=true&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden;"></iframe>
Facebook has had some issues with extra params on the end of the share links. I still haven't found an answer but it seems a bug on facebook's part.
精彩评论