---
schema_version: "1"
id: 9af470c80752002458365632e73998c2fa2e391fb6dfa9267e12f076b13478d6
title: chatter:follow
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/components/pages-compref-chatter-follow.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-chatter-follow.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f7d9750dcef5ab8de9097dc07e815d3010b764655290ba07c4a3b4fb497611d8
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# chatter:follow

Renders a button for a user to follow or unfollow a Chatter record. Note that Chatter components are unavailable for Visualforce pages on Force.com sites. Ext JS versions less than 3 should not be included on pages that use this component.

## Attributes

|Attribute Name|Attribute Type|Description|Required?|API Version|Access|
|--------------|--------------|-----------|---------|-----------|------|
|`entityId`|id|Entity ID of the record for which to display the follow or unfollow button; for example, Contact.Id|Yes|20.0||
|`id`|String|An identifier that allows the component to be referenced by other components in the page.| |14.0|global|
|`onComplete`|String|The JavaScript function to call after the follow/unfollow event completes| |20.0||
|`rendered`|Boolean|A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true.| |14.0|global|
|`reRender`|Object|The ID of one or more components that are redrawn when the result of the action method returns to the client. This value can be a single ID, a comma-separated list of IDs, or a merge field expression for a list or collection of IDs.| |20.0||

**See Also**  


-   [chatter:followers](https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-chatter-followers.md)

