Packagecom.distriqt.extension.facebookapi.share.builders
Classpublic class ShareOpenGraphContentBuilder
InheritanceShareOpenGraphContentBuilder Inheritance Object

A Builder for creating open graph content to share



Public Methods
 MethodDefined By
  
Constructor
ShareOpenGraphContentBuilder
  
build():Object
Builds the object for sharing using ShareDialog.show
ShareOpenGraphContentBuilder
  
Sets the Open Graph Action for the content.
ShareOpenGraphContentBuilder
  
Set the URL for the content being shared.
ShareOpenGraphContentBuilder
  
Set the list of Ids for taggable people to tag with this content
ShareOpenGraphContentBuilder
  
Set the Id for a place to tag with this content
ShareOpenGraphContentBuilder
  
Sets the property name for the primary object in the action.
ShareOpenGraphContentBuilder
  
Set the value to be added to the referrer URL when a person follows a link from this shared content on feed.
ShareOpenGraphContentBuilder
  
Set the ShareHashtag for this content
ShareOpenGraphContentBuilder
Public Constants
 ConstantDefined By
  TYPE : String = openGraph_content
[static]
ShareOpenGraphContentBuilder
Constructor Detail
ShareOpenGraphContentBuilder()Constructor
public function ShareOpenGraphContentBuilder()

Constructor

Method Detail
build()method
public function build():Object

Builds the object for sharing using ShareDialog.show

Returns
Object — The content Object

See also

setAction()method 
public function setAction(action:Object):ShareOpenGraphContentBuilder

Sets the Open Graph Action for the content. You should use the ShareOpenGraphActionBuilder to construct this object.

Parameters

action:Object — Open graph action.

Returns
ShareOpenGraphContentBuilderShareOpenGraphContentBuilder instance for chaining calls

See also

setContentUrl()method 
public function setContentUrl(contentUrl:String):ShareOpenGraphContentBuilder

Set the URL for the content being shared.

Parameters

contentUrl:String — The url of the content link

Returns
ShareOpenGraphContentBuilderShareOpenGraphContentBuilder instance for chaining calls
setPeopleIds()method 
public function setPeopleIds(peopleIds:Array):ShareOpenGraphContentBuilder

Set the list of Ids for taggable people to tag with this content

Parameters

peopleIds:Array — Array of Ids for people to tag

Returns
ShareOpenGraphContentBuilderShareOpenGraphContentBuilder instance for chaining calls
setPlaceId()method 
public function setPlaceId(placeId:String):ShareOpenGraphContentBuilder

Set the Id for a place to tag with this content

Parameters

placeId:String — The Id for the place to tag

Returns
ShareOpenGraphContentBuilderShareOpenGraphContentBuilder instance for chaining calls
setPreviewPropertyName()method 
public function setPreviewPropertyName(previewPropertyName:String):ShareOpenGraphContentBuilder

Sets the property name for the primary object in the action.

Parameters

previewPropertyName:String — The property name for the preview object.

Returns
ShareOpenGraphContentBuilderShareOpenGraphContentBuilder instance for chaining calls
setRef()method 
public function setRef(ref:String):ShareOpenGraphContentBuilder

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

Parameters

ref:String — The ref for the content

Returns
ShareOpenGraphContentBuilderShareOpenGraphContentBuilder instance for chaining calls
setShareHashtag()method 
public function setShareHashtag(shareHashTag:String):ShareOpenGraphContentBuilder

Set the ShareHashtag for this content

Parameters

shareHashTag:String — The hashtag for this content

Returns
ShareOpenGraphContentBuilderShareOpenGraphContentBuilder instance for chaining calls
Constant Detail
TYPEConstant
public static const TYPE:String = openGraph_content