Thursday, February 17, 2011

Customize Your Facebook Like Button More Specific


Facebook Like (F Like) button is one of the most popular features provided by Facebook Social Plugins. It is used to express our opinion to our Facebook friends that we like a page in a site and suggest them to read the page.


For example, if you like this page, then you can press/hit F Like button and tell your friends listed in your Facebok friend's list to read this page. Do you know how to customize this F Like button work in a more specific items in your page, rather than in a page itself?

Suppose that your page has one or more pictures, and your friends or visitors like one of the pictures, then they can press/hit F Like button to this picture. With these more specific F Like buttons in a page, visitors or your friends may like not only the page but also the detail contents of your page also.
















F Like button works by placing the script or syntax as followed:

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="Your URL" layout="button_count" show_faces="false" width="100"></fb:like>

in to your page. Your URL is the URL address. You may use your homepage, page, or any location address of specific item such as picture/image, movie/video/MP3, etc. as the URL address. Replacing Your URL with http://vivaedmund.blogspot.com will result:



Number indicates the total Facebook user. It means, total Facebook users who like Viva Edmund Blog. What if you want to like the picture or image in a page, e.g below?


Related Post :
  1. Blogger Tip: Install Social Network Plugin On Blogger
  2. How to Unfollow or Stop Following a Blog in Google Friend Connect
As explained above, you must know the location/address of this image. Hover your mouse inside the fried bread picture and right click it. Choose image properties, left click mouse to the address, right click to copy, and press Ctrl-V to any Windows based application such as Word, Notepad, Excel, etc. You have gotten the address: http://s3.amazonaws.com/readers/2010/12/25/copy-of-pict2460_1.jpg. Replace Your URL in the script above with this URL adress to get the script below and put it under the image (or where-ever you like):

<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://s3.amazonaws.com/readers/2010/12/25/copy-of-pict2460_1.jpg" layout="button_count" show_faces="false" width="100"></fb:like>




Finish. You can then share F Like button for a specific picture/image to your Facebook friends. You may repeat the above method to other image, movie, or any types of files located in a specified URL address. The URL address is the key where you can put the F Like button as many as you want.

Weakness

There is a weakness to apply the above script to a specific detail in a page. When you share your F Like to your Facebook friends, you may read in your Facebook Wall-the URL address that is not all your friends/readers understand. It is because the specific address of the detail does not have HTML meta tag title for that. If it does have, then the F Like in your Facebook Wall wil dsplay the title and easy to read by your Facebook friends.

1 comment:

  1. The Best 8 Casino Restaurants in Atlantic City - Mapyro
    The Best 8 Casino Restaurants in Atlantic City · The Shops at the Plaza 강원도 출장안마 at the 수원 출장마사지 Borgata Hotel 동해 출장마사지 & Casino · The Shops at the 구미 출장안마 Wynn 과천 출장마사지 Hotel Casino · The Shops at Wynn

    ReplyDelete