It's not realy something hard to make supposing that you want to add this Facebook Share Plugin onto your site, just take a visit to the devoloper's site and follow the intructions given by. Or, you can even choose one of the below codes to add it onto your site, just copy the code that you want. Each code will result in a different view.
1. Facebook Share Plugin Without Counter.
To be the lesser arrangement the code above looks like the below.
< a name="fb_share"
type="button" href="http://
www.facebook.com/
sharer.php">Share< / a>< script
src="http://static.ak.fbcdn.net/
connect.php/js/FB.Share"
type="text/javascript">< / script>
It results in this button:
2. Facebook Share Plugin With A Counter On The Above.
To be the lesser arrangement the code above looks like the below.
< a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php">Share< / a>< script
src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript">< / script>
It results in this button:
3. Facebook Share Plugin With A Counter On The Right.
To be the lesser arrangement the code above looks like the below.
< a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share< / a>< script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript">< / script>
It results in this button:
Well What Should I Do With The Code i've just copied?
You just have to put the code somewhere in your template. Mostly, poeple put them on the main page (page of post), so let's just say you'd like to put it on just where poeple put it to make an example. Find this code in your template (don't tell you don't know how to edit your template): < data:post.body/>. Put the code (Facebook Share Plugin Code) before the above code if you want your Facebook Share Plugin displayed in top of your article/post. And put it after, if you want your Facebook Share Plugin displayed in the down side/below article. After, save your template and you're done. Just check if you have a Facebook Share Plugin on your site now.
By making the above way all what you will get is just a share button that will count and show the number of shared contents on each page respectively, but you'll never know which pages been shared to facebook unless you check the pages one by one. If you want facebook to notify you anytime your content is shared you'll need to register your facebook account as the admin. And to do that you have to go to facebook developer site at http://developers .facebook.com/. Maybe next time i'll publish a special article about that matter, soon or late, just wait for it.
0 comments:
Post a Comment