FacebookLikeButton Class Content Studio 5.7 SDK
Content Studio Web Content Management System

[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

SystemObject
  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

public class FacebookLikeButton : Control

The FacebookLikeButton type exposes the following members.

Constructors

  NameDescription
Public methodFacebookLikeButton
Initializes a new instance of the FacebookLikeButton class
Top
Properties

  NameDescription
Public propertyAction
The verb to display on the button. Options: 'like', 'recommend'.
Protected propertyAdapter (Inherited from Control.)
Public propertyAppRelativeTemplateSourceDirectory (Inherited from Control.)
Public propertyBindingContainer (Inherited from Control.)
Protected propertyChildControlsCreated (Inherited from Control.)
Public propertyClientID (Inherited from Control.)
Protected propertyClientIDSeparator (Inherited from Control.)
Public propertyColorScheme
Gets or sets the color scheme.
Protected propertyContext (Inherited from Control.)
Public propertyControls (Inherited from Control.)
Protected propertyDesignMode (Inherited from Control.)
Public propertyEnableTheming (Inherited from Control.)
Public propertyEnableViewState (Inherited from Control.)
Protected propertyEvents (Inherited from Control.)
Public propertyFont
The font to display in the button. Options: 'arial', 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana'.
Protected propertyHasChildViewState (Inherited from Control.)
Public propertyID (Inherited from Control.)
Protected propertyIdSeparator (Inherited from Control.)
Public propertyIgnoreFacebookJavaScriptSdkComponentCheck
Set this to to ignore checking whether the Facebook JavaScript SDK component exists on the page or not.
Protected propertyIsChildControlStateCleared (Inherited from Control.)
Protected propertyIsTrackingViewState (Inherited from Control.)
Protected propertyIsViewStateEnabled (Inherited from Control.)
Public propertyLayoutStyle
Gets or sets the layout style.
Protected propertyLoadViewStateByID (Inherited from Control.)
Public propertyNamingContainer (Inherited from Control.)
Public propertyPage (Inherited from Control.)
Public propertyParent (Inherited from Control.)
Public propertyReferrals
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.
Public propertyRenderMode
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.
Public propertySendButton
Specifies whether to include a Send button with the Like button. This only works with the XFBML version.
Public propertyShowFaces
Specifies whether to display profile photos below the button (standard layout only).
Public propertySite (Inherited from Control.)
Public propertySkinID (Inherited from Control.)
Public propertyTemplateControl (Inherited from Control.)
Public propertyTemplateSourceDirectory (Inherited from Control.)
Public propertyUniqueID (Inherited from Control.)
Public propertyUrlToLike
Gets or sets the URL to like. The XFBML version defaults to the current page.
Public propertyWidth
The width of the Like button.
Protected propertyViewState (Inherited from Control.)
Protected propertyViewStateIgnoresCase (Inherited from Control.)
Public propertyVisible (Inherited from Control.)
Top
Methods

  NameDescription
Protected methodAddedControl (Inherited from Control.)
Protected methodAddParsedSubObject (Inherited from Control.)
Public methodApplyStyleSheetSkin (Inherited from Control.)
Protected methodBuildProfileTree (Inherited from Control.)
Protected methodClearChildControlState (Inherited from Control.)
Protected methodClearChildState (Inherited from Control.)
Protected methodClearChildViewState (Inherited from Control.)
Protected methodCreateChildControls (Inherited from Control.)
Protected methodCreateControlCollection (Inherited from Control.)
Public methodDataBind (Inherited from Control.)
Protected methodDataBind(Boolean) (Inherited from Control.)
Protected methodDataBindChildren (Inherited from Control.)
Public methodDispose (Inherited from Control.)
Protected methodEnsureChildControls (Inherited from Control.)
Protected methodEnsureID (Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindControl(String) (Inherited from Control.)
Protected methodFindControl(String, Int32) (Inherited from Control.)
Public methodFocus (Inherited from Control.)
Protected methodGetDesignModeState (Inherited from Control.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHasControls (Inherited from Control.)
Protected methodHasEvents (Inherited from Control.)
Protected methodIsLiteralContent (Inherited from Control.)
Protected methodLoadControlState (Inherited from Control.)
Protected methodLoadViewState (Inherited from Control.)
Protected methodMapPathSecure (Inherited from Control.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnBubbleEvent (Inherited from Control.)
Protected methodOnDataBinding (Inherited from Control.)
Protected methodOnInit
Raises the Init event.
(Overrides ControlOnInit(EventArgs).)
Protected methodOnLoad (Inherited from Control.)
Protected methodOnPreRender (Inherited from Control.)
Protected methodOnUnload (Inherited from Control.)
Protected methodOpenFile (Inherited from Control.)
Protected methodRaiseBubbleEvent (Inherited from Control.)
Protected methodRemovedControl (Inherited from Control.)
Protected methodRender (Inherited from Control.)
Protected methodRenderChildren (Inherited from Control.)
Public methodRenderControl(HtmlTextWriter)
Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
(Overrides ControlRenderControl(HtmlTextWriter).)
Protected methodRenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected methodResolveAdapter (Inherited from Control.)
Public methodResolveClientUrl (Inherited from Control.)
Public methodResolveUrl (Inherited from Control.)
Protected methodSaveControlState (Inherited from Control.)
Protected methodSaveViewState (Inherited from Control.)
Protected methodSerializeControl
Serializes the control.
Protected methodSetDesignModeState (Inherited from Control.)
Public methodSetRenderMethodDelegate (Inherited from Control.)
Public methodToString (Inherited from Object.)
Protected methodTrackViewState (Inherited from Control.)
Top
Events

  NameDescription
Public eventDataBinding (Inherited from Control.)
Public eventDisposed (Inherited from Control.)
Public eventInit (Inherited from Control.)
Public eventLoad (Inherited from Control.)
Public eventPreRender (Inherited from Control.)
Public eventUnload (Inherited from Control.)
Top
See Also

Reference