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 NameAttribute TypeDescriptionRequired?API VersionAccess
entityIdidEntity ID of the record for which to display the follow or unfollow button; for example, Contact.IdYes20.0
idStringAn identifier that allows the component to be referenced by other components in the page. 14.0global
onCompleteStringThe JavaScript function to call after the follow/unfollow event completes 20.0
renderedBooleanA Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. 14.0global
reRenderObjectThe 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