Erwin Info official website | Members area : Register | Sign in
Language : Indonesian English German Dutch Portuguese Russian Greek Brazilian French Spanish Arabic Korean

How to Make a Button Like Facebook


Facebook, the site's most popular social networking service, has recently released a new feature, Facebook Like. If previously the "Like" is only visible on the Facebook site (for example under the user's Facebook status updates), with this feature of Facebook users could show my love / like directly on your site / blog outside of Facebook. But of course only on sites / blogs that put this button which can divide the article link to Facebook.


Well, if you are interested in adding the "Like" in your blog article, please follow the way of installation. Actually, the Facebook site already available tools to get the code that can be installed on your site / blog. But unfortunately, at the option URL to Like on the tool, it can only specify a static URL, can not be read automatically the URL of each article / blog pages (dynamic URL). For that we need a little modification of the code can be found on Facebook that.


Please select the appropriate code to the blog platform is used. If you are interested please follow the step by step below:


- Login first to your Blogger account

- Click the Draft

- Edit HTML

- Mark Expand Widget Templates

- Find a code <data:post.body/> and input the code below above or below it.

<div>
<fb:like expr:href="data:post.url" layout='standard' send='true' show_faces='false' font="arial" action="like" colorscheme="light"></fb:like>
</div>


- Find a code </head> , enter the script below on the code </head>.

<script src='http://connect.facebook.net/en_US/all.js#xfbml=1' type='text/javascript'/>

If you are finished, save the template and please see the result.


You can choose settings like the display on the button, the "Like" to "Recommend" or vice versa. Please replace the code like in the "action = like" to "action = recommend" on the options above code, "layout = default" can you change the "layout = button_count / box_count", "font = arial" can you change it to "font = lucida_grande / segoe_ui / tahoma / trebuchet_ms / verdana ", and" colorscheme = light "can also be changed to" colorscheme = dark ".

Thanks For Visit To My Blogsite

1 comments:

udiyana said...

nice info gan
ane dah follow
follow back yw

Post a Comment

Do not Forget to comment Quest.

Thank you for Commentnya.