<aThe best ways to Get More Facebook Likes for Your Website and Fan Page
Facebook Likes are a powerful way to get site visitors to socially engage with your brand. There are 2 types of likes you can obtain with Facebook’s developer code– likes for website pages and likes for your fan page. The very best part is users can like both of these straight on your site without having to go anywhere else!
Creating a Facebook Application for Your Website
So let’s look at creating an application on Facebook– it’s easier than you think!
Step 1: Develop an App
To produce an application for your site, you will want to start on the Develop an App page and enter your website’s name, URL, and language.
Facebook Designer – Create an App
Click on the Create an App button to continue, and go into the captcha.
Action 2. Copy Your Application Information
On the following screen, you will get your App ID and Secret Key. Make sure to keep this convenient as you will require it to execute a few of the following Facebook Like code.
Facebook Developer Application Settings
You can also get it by visiting your Applications Dashboard at a later date.
There are two variations of the code as shown above– I personally opt for the code under Packing the SDK Asynchronously as this choice will make sure that, must the Facebook code not be responding, it will not prevent other items from packing on your page, causing faster page load times.
You will want to replace the text YOUR APP ID in either variation with the App ID you produced earlier. Then location this code between your website’s <HEAD> </HEAD> tags. Depending upon your CMS, you may have to position this in your header.php file or similar header template file.
Setting up Facebook Like for Your Website Content
The general agreement is that Facebook Likes might affect search rankings. Whether it is direct, or just one amongst many other social signs of good content is still debatable, however search engines nonetheless are taking cues from social signals. For this reason, it cannot harm to enhance the likes of your website and its content.
Implementation of the Facebook Like button for your website content is reasonably basic. Facebook has an easy to utilize code generator for the Like button.
Facebook Like Button Code Generator
Here, you will:
1. Enter the URL you want a Facebook user to like which can be your homepage or an internal page on your website.
Facebook Like Send Button
3. Select between a requirement, button, or box count design– changing the dropdown will show you an example of each.
4. Set the proper width.
5. Program the faces of a user’s buddies who have actually likewise liked the URL defined. This only applies to the conventional layout.
6. Set the button to say Like or Suggest. This will change the terminology on the user’s profile to say that person likes or suggests your URL.
7. Pick a color scheme. The majority of sites appear to choose the light one.
8. Choose a specific font style to match your site.
As soon as you have all of these settings the way you like them and so forth button appears the method you want it as previewed on the side of the screen, you can hit the Get Code button to obtain your code.
Facebook Like Button Code Generation
I like the option to released a comment, as it enables users to include their tailored recommendation with the link. Here’s an example with and without a comment on the very same link.
Facebook Recommended Relate to Remark
A tailored remark makes the suggestion much stronger and likely a user’s friends will click it!
Installing Facebook Like in a Template
If you want to have the Facebook Like button installed in a theme, such as a single post template file, you will need to customize the code to reflect the altering present page’s permalink. For WordPress, you would need to enter any URL to create the code, then change that url in the code with <?php echo rawurlencode(get_permalink()); ?>. For both the iFrame and XFBML Like button code, this is the part you would alter:
href=<?php echo rawurlencode(get_permalink()); ?>
If you use a CMS besides WordPress, you will need to determine what code you need to utilize to ensure that no matter what page the user is on, that is the one they will like.
Implementation of the Like button can go from blog posts to article material. But it’s not practically to buy Facebook website likes based off website content. Exactly what about product pages? Buy.com is a fantastic example of making use of the Facebook Like button as social evidence when you’re about to buy!
Facebook Like on Item Pages
Facebook Share– The Facebook Like Alternative
Some sites additionally utilize the Facebook Share button instead of the Like button since of the distinction in functionality. The Share button will offer users the following screen.
Facebook Share Button Display
This permits users to always have the opportunity to add their own remark to an item they like, change the thumbnail for the post if there are other images on the page, as well as change the page title and description before it posts to their wall. The code is also a bit more basic, as it has just one choice that works no matter where you position it on design templates or directly in the content.
This code will just aim to share the URL it is displayed upon.
Setting up Facebook Like for Your Fan Page
Now let’s state your next objective is to enhance the number of fans for your fan page, and you wish to do so directly on your site. Not an issue! You have 2 different options for allowing users to end up being a fan of your Facebook page without leaving your site.
The Facebook Like Box
The most popular alternative for releaseding details about your Facebook page on your site is the Facebook Like Box. By getting in the URL of your Facebook Fan page, you can get the following customize-able box.
Facebook Like Box for Your Facebook Fan Page
Here, you can change the settings for the width and whether to show the faces of people who like the page, newest stream of status updates, and the “Discover us on Facebook” header.
When you have actually customized your settings, you can click the Get Code button and choose either the iFrame or XFBML code. The functionality between the two is the same.
The Facebook Like Button for Your Fan Page
If you want something a bit more subtle, you can make use of the same Like button as you utilized for your site content. Just use the URL of your fan page to ensure that any likes will count as fans for your fan page.
One of my preferred applications of this is Mashable’s subscribe box.
Register for Facebook Like Button
They simply used their fan page’s URL, set the width to 286, left the checkbox for Program faces examined and utilized the XFBML code. Why the XFBML? Since in this instance, if people are not logged into Facebook, the iframe code would leave a huge blank whitespace where the faces of friends who have liked the page would normally be. The XFBML will collapse that space and keep it neat.