To add a like button in web page, first you have to create a page in Facebook. Get page id and change the id underlined below in code:
<script type=”text/javascript” src=”http://static.ak.connect.facebook.com/js/api_lib/v0.4/
FeatureLoader.js.php/en_US”></script><script type=”text/javascript”>FB.init
(“554c111c8fb8072f8092faac21d7e5f5″);</script><fb:fan
profile_id=”215758108445726” stream=”” connections=”8″ width=”240″
height=”165″></fb:fan>
For Google +1 button use this code
<!– Place this tag where you want the +1 button to render –>
<g:plusone></g:plusone>
<!– Place this tag after the last plusone tag –>
<script type=”text/javascript”>
(function() {
var po = document.createElement(‘script’); po.type = ‘text/javascript’; po.async = true;
po.src = ‘https://apis.google.com/js/plusone.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(po, s);
})();
</script>


