Fb:share-button
From Facebook Developer Wiki
Description
Renders a standard Share button in a canvas page for the specified URL or content. You can also use this tag to put a Share button on a Static FBML tab on a Facebook Page.
Important: All attributes in the table below must be written in all lowercase letters.
Note: If you're implementing a Facebook Share button on a Facebook Connect site, you need to use the XFBML version of the tag.
Attributes
| Required | Name | Type | Description | |
| required | class | string | The type of share button. Valid values are url, to render a share of the URL specified with the href attribute, and meta, to render a share with the given data. | |
|---|---|---|---|---|
| href | string | The reference URL to share. This attribute is required for the url class only. | ||
| optional | meta | string | The metadata about the shared item. See descriptions of the necessary data. The meta class may contain this attribute. | |
| link | string | The content (such as image thumbnails) for the shared item. See descriptions of the necessary data. The meta class may contain this attribute. |
Examples
<fb:share-button class="url" href="http://apps.facebook.com/example" />
![]() |

