Content Studio Web Content Management System
SystemObject
System.Web.UIControl
ContentStudio.Site.ControlsFacebookLikeButton
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
Top
[This is preliminary documentation and is subject to change.]
The Like button lets a user share your content with friends on Facebook. When the user clicks the Like button on your site, a story appears in the user's friends' News Feed with a link back to your website.When your Web page represents a real-world entity, things like movies, sports teams, celebrities, and restaurants, use the Open Graph protocol to specify information about the entity. If you include Open Graph tags on your Web page, your page becomes equivalent to a Facebook page. This means when a user clicks a Like button on your page, a connection is made between your page and the user. Your page will appear in the "Likes and Interests" section of the user's profile, and you have the ability to publish updates to the user. Your page will show up in same places that Facebook pages show up around the site (e.g. search), and you can target ads to people who like your content.
Inheritance Hierarchy
System.Web.UIControl
ContentStudio.Site.ControlsFacebookLikeButton
Namespace: ContentStudio.Site.Controls
Assembly: ContentStudio.Site.Controls (in ContentStudio.Site.Controls.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The FacebookLikeButton type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FacebookLikeButton | Initializes a new instance of the FacebookLikeButton class |
Properties
Name | Description | |
---|---|---|
Action |
The verb to display on the button. Options: 'like', 'recommend'.
| |
Adapter | (Inherited from Control.) | |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) | |
BindingContainer | (Inherited from Control.) | |
ChildControlsCreated | (Inherited from Control.) | |
ClientID | (Inherited from Control.) | |
ClientIDSeparator | (Inherited from Control.) | |
ColorScheme |
Gets or sets the color scheme.
| |
Context | (Inherited from Control.) | |
Controls | (Inherited from Control.) | |
DesignMode | (Inherited from Control.) | |
EnableTheming | (Inherited from Control.) | |
EnableViewState | (Inherited from Control.) | |
Events | (Inherited from Control.) | |
Font |
The font to display in the button. Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'.
| |
HasChildViewState | (Inherited from Control.) | |
ID | (Inherited from Control.) | |
IdSeparator | (Inherited from Control.) | |
IgnoreFacebookJavaScriptSdkComponentCheck |
Set this to to ignore checking whether the Facebook JavaScript SDK component exists on the page or not.
| |
IsChildControlStateCleared | (Inherited from Control.) | |
IsTrackingViewState | (Inherited from Control.) | |
IsViewStateEnabled | (Inherited from Control.) | |
LayoutStyle |
Gets or sets the layout style.
| |
LoadViewStateByID | (Inherited from Control.) | |
NamingContainer | (Inherited from Control.) | |
Page | (Inherited from Control.) | |
Parent | (Inherited from Control.) | |
Referrals |
A label for tracking referrals; must be less than 50 characters and can contain alphanumeric characters and some punctuation (currently +/=-.:_). The ref attribute causes two parameters to be added to the referrer URL when a user clicks a link from a stream story about a Like action:fb_ref - the ref parameter fb_source - the stream type ('home', 'profile', 'search', 'other') in which the click occurred and the story type ('oneline' or 'multiline'), concatenated with an underscore.
| |
RenderMode |
Gets or sets the render mode. There are two Like button implementations: XFBML and Iframe. The XFBML (also available in HTML5-compliant markup) version is more versatile, but requires use of the JavaScript SDK. The XFBML dynamically re-sizes its height according to whether there are profile pictures to display, gives you the ability (through the Javascript library) to listen for like events so that you know in real time when a user clicks the Like button, and it always gives the user the ability to add an optional comment to the like. If users do add a comment, the story published back to Facebook is given more prominence.
| |
SendButton |
Specifies whether to include a Send button with the Like button. This only works with the XFBML version.
| |
ShowFaces |
Specifies whether to display profile photos below the button (standard layout only).
| |
Site | (Inherited from Control.) | |
SkinID | (Inherited from Control.) | |
TemplateControl | (Inherited from Control.) | |
TemplateSourceDirectory | (Inherited from Control.) | |
UniqueID | (Inherited from Control.) | |
UrlToLike |
Gets or sets the URL to like. The XFBML version defaults to the current page.
| |
Width |
The width of the Like button.
| |
ViewState | (Inherited from Control.) | |
ViewStateIgnoresCase | (Inherited from Control.) | |
Visible | (Inherited from Control.) |
Methods
Events
Name | Description | |
---|---|---|
DataBinding | (Inherited from Control.) | |
Disposed | (Inherited from Control.) | |
Init | (Inherited from Control.) | |
Load | (Inherited from Control.) | |
PreRender | (Inherited from Control.) | |
Unload | (Inherited from Control.) |
See Also