开发者

Facebook like button asp.net

I would like to add a Facebook like button to my asp.net page.

I am using Facebook Like Button plugin

But unfortunately its not appearing on my page when i run it locally

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like show_faces="false" width="150"></fb:like>

or

<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fexample.com%2Fpage%2Fto%2Flike&amp;layout=standard&amp;show_faces=true&amp;width=150&amp;action=like&amp;colorscheme=light&a开发者_运维问答mp;amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:150px; height:80px;" allowTransparency="true"></iframe>

Does anyone have an idea what I might be doign wrong please?

Did I need to set an application first to do this?

Thanks

C


Did I need to set an application first to do this? YES

you are using XFBML , so you need Facebook javascript SDK and that requires app ID.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜