Sharing your Webpage on Facebook

22 06 2010

With Facebook becoming a trend setter in social networking, it is hardly surprising to see websites coming up with ways to allow users to share content through it. In this post, I will show how you can easily place a Facebook sharing link and place it onto any page of yours.

To do this, firstly, you will require some basic knowledge in HTML. Open up your web page editor and just place in the following code into the location where you want the sharing link to be at:

<a name=”fb_share” type=”button_count” share_url=””  href=””>Share</a&gt;
<script src=”; type=”text/javascript”></script>

Make sure you replace with your own site URL to ensure that it works. Once successful, you should be seeing a result like this below:

By clicking on it, you will be redirected to Facebook and you should be seeing a result like this:

Facebook sharing!

And that is all you need to share your site on Facebook. Will be coming up with more details on the Facebook API such as the “Like Box” coming here soon!




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: