Create a facebook like button and twitter share button

1.) To create a twitter share button, simply go to this URL: http://twitter.com/about/resources/tweetbutton. Customized the look of the widget, copy the code and paste it on your website.

2.) The same steps applies for facebook. Go to this url: http://developers.facebook.com/docs/reference/plugins/like/. To get the code facebook needs to confirm your account, and 1 way is to verify it though phone: http://www.facebook.com/confirmphone.php

Twitter code like:
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="czetsuya">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

FB Code
<div id="fb-root">
</div>
<script src="http://connect.facebook.net/en_US/all.js#appId=187646497951689&xfbml=1"></script>
<fb:like href="http://www.facebook.com/KalidadPrintsAndFavors" send="true" layout="button_count" width="250" show_faces="true" action="recommend" font=""></fb:like>
Create a facebook like button and twitter share button Create a facebook like button and twitter share button Reviewed by Edward Legaspi on Wednesday, May 25, 2011 Rating: 5

No comments:

Powered by Blogger.