/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<div style='float:right; margin-left:10px;'> <script>var fbShare = { url: 'http://chethstudios.blgospot.com/', size: 'small', google_analytics: 'true' }</script> <script src="http://widgets.fbshare.me/files/fbshare.js"></script> </div> /* 1.<div style='float:right; aligns the button to the right. set it as left if you want it on the left hand side of the post. 2.the above code was pasted above the <data:post.body/> tag. So if you want the retweet button in the bottom section of your post. Place the code below <data:post.body/> 3.size - The size of the button: 'large' OR 'small' (if not specified, defaults to 'large') 4.url - The URL of the page you want shared on Facebook (if not specified, defaults to that of the page on which the button is displayed) 5.title - The name of the page you want shared on Facebook (if not specified, defaults to that of the page on which the button is displayed) 6.google_analytics - If no awesm_api_key specified, sets whether fbshare.me links have Google Analytics parameters added: true OR false (if not specified, defaults to false) 7.awesm_api_key - For existing awe.sm customers only (if not specified, will use fbshare.me links) */