Add "Become-a-Fan" button to my website

Posted by vamsivanka on Stack Overflow See other posts from Stack Overflow or by vamsivanka
Published on 2010-04-15T18:47:23Z Indexed on 2010/04/15 18:53 UTC
Read the original article Hit count: 260

Filed under:
|
|

I am trying to add "Become-a-Fan" button to my 2008 asp.net website (vb)

Here is an example i have followed http://www.docstoc.com/docs/9646635/Add-a-Facebook-Fan-Button-to-your-Website/

posted this following script to my website:

<script type="text/javascript" src="http://static.ak.connect.facebook.com/connect.php/en_US"></script><div id="fb-root"></div> <script> window.fbAsyncInit = function() {   FB.init({     appId: "myapiid",     xfbml: true   }); }; (function() {   var e = document.createElement('script'); e.async = true;   e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';   document.getElementById('fb-root').appendChild(e); }()); </script> <fb:fan profile_id="253787057811" stream="0" connections="0" logobar="1" width="300"></fb:fan> <div style="font-size:8px; padding-left:10px">   <a href="http://www.facebook.com/pages/FanPageName/myapiid">FanPageName</a> on Facebook </div>

But Not able to see the Image button "Become-a-Fan"

Please Let me know.

© Stack Overflow or respective owner

Related posts about facebook

Related posts about ASP.NET