Follow Button
The Follow button lets people subscribe to the public updates of others on Facebook.
Settings
The configurator above doesn't include all of the possible settings for your Follow button. You can also change the following settings:
Setting | HTML5 Attribute | Description | Default |
---|---|---|---|
colorscheme | data-colorscheme | The color scheme used by the plugin. Can be "light" or "dark". | "light" |
href | data-href | The Facebook.com profile URL of the user to follow. | None |
kid_directed_site | data-kid-directed-site | If your web site or online service, or a portion of your service, is directed to children under 13 you must enable this | "false" |
layout | data-layout | Selects 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_faces | data-show-faces | Specifies whether to display profile photos below the button (standard layout only). You must not enable this on child-directed sites. | "false" |
width | data-width | The 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:
- Is the profile URL you are using actually a personal profile and not a Facebook Page? Pages should instead use the Like button
- 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.
- Use the alternate profile URL with that person's User ID instead of their username. For example
http://www.facebook.com/4
instead ofhttp://www.facebook.com/zuck
.
What are the different layout types?
There are three options:
Layout | Default Sizes |
---|---|
standard | Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos). |
box_count | Minimum width: 55 pixels. Default width: 55 pixels. Height: 65 pixels. |
button_count | Minimum width: 90 pixels. Default width: 90 pixels. Height: 20 pixels. |
No comments:
Post a Comment