How to 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>

0 Comments

Post a Comment

Post a Comment (0)

Previous Post Next Post
NERV Open Source
Building production Spring Boot systems?

Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.