-
▼
2011
(34)
-
▼
June
(34)
- how to Making money with Google Adsense
- How to Eating Well
- how to live healthy
- How to Install Shoutbox on Blogger
- How to add LinkWithin widget to your blog
- How to Create Maps With Google Earth
- How to Share Google Maps
- How to Use Google Map
- How to Register a Business With Google Maps
- How to Register a Google Maps Key
- How to Tag Facebook Photos on Android Devices
- how to make lose weight fast
- How to Make Fried Rice
- How to Copy Xbox 360 Games to DVD
- How to Copy Xbox 360 Games for Free
- How to Burn Xbox 360 Games
- How to Flash Xbox 360
- Promoting your Facebook Page on Social Media
- Adding Facebook Comments to Your Site
- Add a Facebook Live Stream to your site
- Adding Facebook Facepile to Your Site
- Adding a facebook Login Button to Your Site
- Adding an Facebook Activity Feed to Your Site
- Adding a Facebook Like Button to your Site
- Promote your facebook Page on Your Website
- Promoting your facebook page
- Customizing Facebook Page Tabs
- Using the Facebook Photo Bar
- Adding Information into Facebook
- Adding an Image to facebook page
- Naming Your Facebook Page
- Creating Facebook Page
- Your Facebook Strategy
- facebook The Like Currency
-
▼
June
(34)
Thursday, June 23, 2011
Adding a Facebook Like Button to your Site
This article explain about How to Adding a Facebook Like Button to your Site. If you’ve ever used social media voting sites like Digg or StumbleUpon, you’ll be familiar with the concept of “voting up” content you find online. The Like Button is Facebook’s voting up mechanism. It’s a social plugin that allows Facebook users to Like specific pieces of content. A link to the content they’ve liked will be posted to the user’s profile and to their friends’ News Feeds.
When a user Likes your content, they share it with their entire friendship network on Facebook. For this reason, the Like Button is a must-have for your website.
To start the process, visit Facebook’s page for the Like Button. There you can read an explanation of how the button works, but most importantly, you can use the supplied widget to generate a customized Like Button for your site.
Similar to the Like Box we added earlier, this comes in both iFrame and XFBML versions. This time, we’re going to install the XFBML version by default.
It’s easy, and means you do not have to enter anything for “URL to Like.” The code will detect the page or post the user is on, and they will automatically Like that page. Users will also be able to leave a comment on the post to their News Feed and profile whenever they Like your content.
Just as we did with the Like Box, we need to paste the code into our website where we want the Like Button to appear. In my case, it’s at the bottom of all blog posts. In a basic HTML website, simply paste the code where you’d like it to appear. In WordPress, you can access this by editing the code for the PHP file controlling single posts. To find this, look in “Appearance” > “Editor.” Unless you’re a code maestro, make sure to save a copy of the original before making any changes.
In my case, I’ll open the Single Post PHP file and look for php the_content, a tag which serves up the content of your blog post. I’ll paste the Like Button code directly below this to ensure the Like Button is the first thing that appears at the end of a post.
If you’re a developer, make sure to read through Facebook’s Like Button documentation to discover more advanced functionality.
When a user Likes your content, a link to the item is posted under “Recent Activity” on their profile. The anchor text will be taken from the title attribute of the page being shared. Now, anyone who visits the user’s Profile will see a link to your content.
After you’ve added the code to your site, no more work is required to maintain the Like Button. You’ve just installed a fully passive promotional channel for your content on Facebook!
When a user Likes your content, they share it with their entire friendship network on Facebook. For this reason, the Like Button is a must-have for your website.
To start the process, visit Facebook’s page for the Like Button. There you can read an explanation of how the button works, but most importantly, you can use the supplied widget to generate a customized Like Button for your site.
Similar to the Like Box we added earlier, this comes in both iFrame and XFBML versions. This time, we’re going to install the XFBML version by default.
It’s easy, and means you do not have to enter anything for “URL to Like.” The code will detect the page or post the user is on, and they will automatically Like that page. Users will also be able to leave a comment on the post to their News Feed and profile whenever they Like your content.
- Since we’re using XFBML, we do not need to enter a “URL to Like.”
- Next, choose between the three layout options available. Keep in mind that the “Show Faces” feature is only available when you choose the standard layout.
- Show Faces” will display profile pictures of friends who have Liked the same page beneath the Like Button.
- Next, set the “Width” so that the Like Button is not wider than the content it will be displayed within.
- Choose whether to display the verb “Like” or “Recommend.” While “Like” is the standard, “Recommend” might be more appropriate in formal contexts where “Like” would seem too colloquial.
- Lastly, choose your preferred font and color scheme.
- When you’re done, select “Get Code.”
Just as we did with the Like Box, we need to paste the code into our website where we want the Like Button to appear. In my case, it’s at the bottom of all blog posts. In a basic HTML website, simply paste the code where you’d like it to appear. In WordPress, you can access this by editing the code for the PHP file controlling single posts. To find this, look in “Appearance” > “Editor.” Unless you’re a code maestro, make sure to save a copy of the original before making any changes.
In my case, I’ll open the Single Post PHP file and look for php the_content, a tag which serves up the content of your blog post. I’ll paste the Like Button code directly below this to ensure the Like Button is the first thing that appears at the end of a post.
If you’re a developer, make sure to read through Facebook’s Like Button documentation to discover more advanced functionality.
When a user Likes your content, a link to the item is posted under “Recent Activity” on their profile. The anchor text will be taken from the title attribute of the page being shared. Now, anyone who visits the user’s Profile will see a link to your content.
After you’ve added the code to your site, no more work is required to maintain the Like Button. You’ve just installed a fully passive promotional channel for your content on Facebook!
Subscribe to:
Post Comments (Atom)
Category
- blog (2)
- Bumps (1)
- Communicate (1)
- Crisis (1)
- Disaster (1)
- During (1)
- Effectively (1)
- Emergency (1)
- Essentials (1)
- facebook (18)
- food and beverage (1)
- google (6)
- Health (3)
- Little (1)
- Management (1)
- Reasons (1)
- White (1)
- Xbox (4)
Short Message here
Followers
Powered by Blogger.
About Me
Popular Posts
-
This article explain about How to Adding Facebook Facepile to Your Site. The Facepile widget shows the faces of friends who have Liked your ...
-
This article explain about How to Adding an Facebook Activity Feed to Your Site . The Like Box showcases users who Like your site. The Activ...
-
This article explain about How to Adding a Facebook Like Button to your Site. If you’ve ever used social media voting sites like Digg or Stu...
-
This article explain about How to Adding Facebook Comments to Your Site . The Comments social plugin lets users comment both on the page it ...
-
This article explain about How to Adding an Image to facebook page . Let’s start by adding a profile image. This will replace the question m...
-
This article explain about How to add LinkWithin widget to your blog . For all bloggers out there, you might be familiar with this widget. Y...
-
This article explain about How to Making money with Google Adsense . Google adsense is a money generating tool if used smartly. Google adsen...
-
This article explain about How to Add a Facebook Live Stream to your site . The Live Stream widget lets people comment about an event on Fac...
-
This article explain about How to Install Shoutbox on Blogger. A little explanation from me. Shoutmix or shoutbox is one of the facilities u...
-
This article explain about How to Adding a facebook Login Button to Your Site . A clever way to integrate Facebook into your web app or memb...

0 comments:
Post a Comment