Facebook Developers
DocsToolsSupportNewsApps
Log In
  • Social Plugins
    • Like Button
    • Send Button
    • Follow Button
    • Comments
    • Activity Feed
    • Recommendations Box
    • Recommendations Bar
    • Like Box
    • Login Button
    • Registration
    • Facepile
  • Facebook Login
  • Open Graph
  • Facebook APIs
  • Games
  • Payments
  • App Center
  • Promote Your App
  • iOS
  • Android
  • JavaScript
  • PHP
  • More SDKs
  • Plugins
    • Activity Feed
    • Comments
    • Facepile
    • Follow Button
    • Like Box
    • Like Button
    • Login Button
    • Recommendations Bar
    • Recommendations Box
    • Registration
    • Send Button
    • Share Dialog
    • Shared Activity
    • fb:name
    • fb:profile-pic
  • Beta Plugins
    • Migrations
      • Subscribe Button

    Follow Button

    The Follow Button used to be called the Subscribe Button.

    The Follow button lets a user follow your public updates on Facebook.

    There are two Follow button implementations: XFBML and Iframe. The XFBML (also available in HTML5-compliant markup) version is more versatile, and requires use of the JavaScript SDK. The XFBML dynamically re-sizes its height according to whether there are profile pictures to display.

    To get started, just use the configurator below to get code to add to your site.

    Get Your Follow Button Code

    (?)
    (?)
    standard
    • standard
    • button_count
    • box_count
    Show Faces (?)
    (?)
    light
    • light
    • dark
    (?)
    • arial
    • lucida grande
    • segoe ui
    • tahoma
    • trebuchet ms
    • verdana
    (?)
    Get Code

    Attributes

    • href - profile URL of the user to follow. This must be a facebook.com profile URL.
    • layout - there are three options.
      • standard - displays social text to the right of the button and friends' profile photos below. Minimum width: 225 pixels. Default width: 450 pixels. Height: 35 pixels (without photos) or 80 pixels (with photos).
      • button_count - displays the total number of followers to the right of the button. Minimum width: 90 pixels. Default width: 90 pixels. Height: 20 pixels.
      • box_count - displays the total number of followers above the button. Minimum width: 55 pixels. Default width: 55 pixels. Height: 65 pixels.
    • show_faces - specifies whether to display profile photos below the button (standard layout only)
    • colorscheme - the color scheme for the plugin. Options: 'light' (default) and 'dark'
    • font - the font to display in the plugin. Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'
    • width - the width of the plugin.
    Updated about 5 months ago
    Facebook © 2013 · English (US)
    AboutAdvertisingCareersPlatform PoliciesPrivacy Policy