Follow Button

The Follow button lets people subscribe to the public updates of others on Facebook.
Profile URL
Width
Height
Color Scheme
Layout Style

Settings

The configurator above doesn't include all of the possible settings for your Follow button. You can also change the following settings:
SettingHTML5 AttributeDescriptionDefault
colorschemedata-colorschemeThe color scheme used by the plugin. Can be "light" or "dark"."light"
hrefdata-hrefThe Facebook.com profile URL of the user to follow.None
kid_directed_sitedata-kid-directed-siteIf your web site or online service, or a portion of your service, is directed to children under 13 you must enable this"false"
layoutdata-layoutSelects one of the different layouts that are available for the plugin. Can be one of "standard", "button_count", or "box_count". See the FAQ for more details."standard"
show_facesdata-show-facesSpecifies whether to display profile photos below the button (standard layout only). You must not enable this on child-directed sites."false"
widthdata-widthThe width of the plugin. The layout you choose affects the minimum and default widths you can use, pleasesee the FAQ below for more details.Depends on layout

FAQ

I'm not sure what the Facebook profile URL is?

When you are viewing the profile of the person that you want to be followed after clicking on the button, your browser will show the URL that you should use in the address bar.
For example, when you are viewing the personal profile of Mark Zuckerberg, the URL shown in your address bar would be:
https://www.facebook.com/zuck
This is the URL you should use as the href value in your Follow button.

I get a "Page not found" error when I enter a valid profile URL

There are a few things you can check when this happens:
  1. Is the profile URL you are using actually a personal profile and not a Facebook Page? Pages should instead use the Like button
  2. Does the person whose profile you are using with the Follow button have following enabled? You can check this by having the person check their Follower Settings and enable them.
  3. Use the alternate profile URL with that person's User ID instead of their username. For examplehttp://www.facebook.com/4 instead of http://www.facebook.com/zuck.

What are the different layout types?

There are three options:
LayoutDefault Sizes
standardMinimum width: 225 pixels.
Default width: 450 pixels.
Height: 35 pixels (without photos) or 80 pixels (with photos).
box_countMinimum width: 55 pixels.
Default width: 55 pixels.
Height: 65 pixels.
button_countMinimum width: 90 pixels.
Default width: 90 pixels.
Height: 20 pixels.