Chuyển đến nội dung chính

Add a Facebook Like Button to Your Site

Adding a Facebook Like Button to your site is a great way to make it easy for visitors to either share your site with their friends or to follow your Facebook business / fan page.
Get started by going here:
http://developers.facebook.com/docs/reference/plugins/like
There's a form on this page that you'll use to setup your like button.

First you'll enter the address that you want people to like. If you leave this field blank, people who click your like button will end up liking nothing at all, which could either be a statement on the sometimes empty nature of our consumerist society or a mistake. Let's go with mistake.
If you have a Facebook Fan Page and prefer visitors Like that page as opposed to just Liking your site (and as the video above notes, it's better to have people like your fan page than your site), enter the address of that page instead.
The FB Fan Page for Benk, the Weebly customer used as an example in our video, is located at https://www.facebook.com/benkartist, by entering the address for his own Fan Page he ensures that all visitors who like his site follow this Fan Page and see all his updates. If you have a fan page, you'll likely want to take this same approach.

Set the width of the button. 200 pixels is usually a very good choice here. 

Choose the Layout / Look of the button. We're fans of the Button Count. 

Leave the Action Type set to Like and then turn the Share Button off by unchecking the "Include Share Button" option. 

Then click Get Code. Here you'll find two separate snippets of code that need to be placed in two different areas of your site. 

The first snippet needs to be placed in the Header of your site. This may sound somewhat complicated, but it's simple to do. Start by copying this first set of code from Facebook. 
Then go within the Weebly editor to Settings > SEO and paste this code into the Header box seen there. You may have to scroll down a bit before you see this Header box.


With this done, you can now add the actual Like button itself wherever you like on your site. Start by going back to Facebook and copying the second code snippet.


Now to add the button to your site, choose a page (or pages) where you'd like to add a like button and then drag an Embed Code element to that page (or those pages). Paste this code into that Embed Code element. 

Once you click out of the element your FB Like Button will appear, and then once you Publish your site this Like Button will be available to all of your visitors.


 Source: http://www.weebly.com/

See more:

Social Media Icons (Facebook, Twitter, Pinterest, Google+)
Add Your Twitter Feed / Badge to a Site

Add a Map to Your Site

Nhận xét

Giải trí - VnExpress RSS

Bài đăng phổ biến từ blog này

How to make money online WITHOUT internet marketing?

FOR LIMITED TIME ONLY - GET AN INSANE 98% DISCOUNT! "Announcement: I'm Going To Give You My Entire APPPortunity Coaching Program For Almost FREE!" Make no mistake - this is the same coaching program that my previous students paid $494 to access the training. Some even paid $994 when it was first launched. This is NOT a free course, I'm literally throwing away $100,000 by giving it for free. It was launched at the end of 2014 and you see the sales notifications coming in when it was announced... Sales notifications from ClickBank. If you don't believe these are real sales, call up ClickBank.com to verify yourself. I have customers from ALL AROUND THE WORLD buying the course... "Why Am I Doing This... Did I Just Lost My Mind To Offer It For Less Than $10?" Here's why... I hate seeing my HARD WORK being wasted . You see, I've spent more than 6 months to learn about the app business and thousands of dollars invested. On top of that, so much work...

Alkaline Diet - How Can Alkaline Diet Transform Your Health

The diet of our ancestors is completely different from what we are so accustomed to these days. With the advancement of technology, the types of foods we consume are dragged along. A trip to the grocery store will shock you with aisles and aisles of processed food items and animal products. You will not have a hard time finding fast food when eating out as practically every corner of the street has one. Even fad diets are partly to blame, for introducing a whole new eating habit, such as high-protein diets. In the recent years, consumption of animal products and refined food items has increased, as more and more people leave out the daily supply of fruits and vegetables in their diet. It comes as no surprise why, these days, many are suffering from different types of allergies, bone diseases, heart problems and many others. Some health experts link these diseases to the type of foods we eat. There are certain types of food that disrupts a certain balance in our body that, during such i...