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&layout=standard&show_faces=true&width=150&action=like&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.
精彩评论