Packagecom.myflashlab.air.extensions.fb
Classpublic class ShareContent
InheritanceShareContent Inheritance Object
Subclasses ShareLinkContent

Provides the base class for content to be shared. Contains all common methods for the different types of content.



Public Properties
 PropertyDefined By
  contentUrl : String
URL for the content being shared.
ShareContent
  hashtag : String
Hashtag for this content
ShareContent
  pageId : String
The ID of the Facebook page this share is associated with.
ShareContent
  placeId : String
The Id for a place to tag with this content.
ShareContent
  ref : String
value to be added to the referrer URL when a person follows a link from this shared content on feed.
ShareContent
Public Methods
 MethodDefined By
  
Do not initialize this class, instead use the sub-classes to build your share content.
ShareContent
  
toString():String
ShareContent
Property Detail
contentUrlproperty
contentUrl:String

URL for the content being shared.


Implementation
    public function get contentUrl():String
    public function set contentUrl(value:String):void
hashtagproperty 
hashtag:String

Hashtag for this content


Implementation
    public function get hashtag():String
    public function set hashtag(value:String):void
pageIdproperty 
pageId:String

The ID of the Facebook page this share is associated with. For shares into Messenger, this pageID will be used to map the app to page and attach attribution to the share.


Implementation
    public function get pageId():String
    public function set pageId(value:String):void
placeIdproperty 
placeId:String

The Id for a place to tag with this content.


Implementation
    public function get placeId():String
    public function set placeId(value:String):void
refproperty 
ref:String

value to be added to the referrer URL when a person follows a link from this shared content on feed.


Implementation
    public function get ref():String
    public function set ref(value:String):void
Constructor Detail
ShareContent()Constructor
public function ShareContent()

Do not initialize this class, instead use the sub-classes to build your share content.

Method Detail
toString()method
public function toString():String

Returns
String