| Package | com.distriqt.extension.facebookapi.share.builders |
| Class | public class ShareOpenGraphContentBuilder |
| Inheritance | ShareOpenGraphContentBuilder Object |
A Builder for creating open graph content to share
| Method | Defined By | ||
|---|---|---|---|
Constructor
| ShareOpenGraphContentBuilder | ||
build():Object
Builds the object for sharing using ShareDialog.show
| ShareOpenGraphContentBuilder | ||
setAction(action:Object):ShareOpenGraphContentBuilder
Sets the Open Graph Action for the content. | ShareOpenGraphContentBuilder | ||
setContentUrl(contentUrl:String):ShareOpenGraphContentBuilder
Set the URL for the content being shared. | ShareOpenGraphContentBuilder | ||
setPeopleIds(peopleIds:Array):ShareOpenGraphContentBuilder
Set the list of Ids for taggable people to tag with this content
| ShareOpenGraphContentBuilder | ||
setPlaceId(placeId:String):ShareOpenGraphContentBuilder
Set the Id for a place to tag with this content
| ShareOpenGraphContentBuilder | ||
setPreviewPropertyName(previewPropertyName:String):ShareOpenGraphContentBuilder
Sets the property name for the primary object in the action. | ShareOpenGraphContentBuilder | ||
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. | ShareOpenGraphContentBuilder | ||
setShareHashtag(shareHashTag:String):ShareOpenGraphContentBuilder
Set the ShareHashtag for this content
| ShareOpenGraphContentBuilder | ||
| Constant | Defined By | ||
|---|---|---|---|
| TYPE : String = openGraph_content [static] | ShareOpenGraphContentBuilder | ||
| ShareOpenGraphContentBuilder | () | Constructor |
public function ShareOpenGraphContentBuilder()Constructor
| build | () | method |
public function build():Object
Builds the object for sharing using ShareDialog.show
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.
|
ShareOpenGraphContentBuilder — ShareOpenGraphContentBuilder instance for chaining calls
|
See also
| setContentUrl | () | method |
public function setContentUrl(contentUrl:String):ShareOpenGraphContentBuilderSet the URL for the content being shared.
Parameters
contentUrl:String — The url of the content link
|
ShareOpenGraphContentBuilder — ShareOpenGraphContentBuilder instance for chaining calls
|
| setPeopleIds | () | method |
public function setPeopleIds(peopleIds:Array):ShareOpenGraphContentBuilderSet the list of Ids for taggable people to tag with this content
Parameters
peopleIds:Array — Array of Ids for people to tag
|
ShareOpenGraphContentBuilder — ShareOpenGraphContentBuilder instance for chaining calls
|
| setPlaceId | () | method |
public function setPlaceId(placeId:String):ShareOpenGraphContentBuilderSet the Id for a place to tag with this content
Parameters
placeId:String — The Id for the place to tag
|
ShareOpenGraphContentBuilder — ShareOpenGraphContentBuilder 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.
|
ShareOpenGraphContentBuilder — ShareOpenGraphContentBuilder instance for chaining calls
|
| setRef | () | method |
public function setRef(ref:String):ShareOpenGraphContentBuilderSet 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
|
ShareOpenGraphContentBuilder — ShareOpenGraphContentBuilder instance for chaining calls
|
| setShareHashtag | () | method |
public function setShareHashtag(shareHashTag:String):ShareOpenGraphContentBuilderSet the ShareHashtag for this content
Parameters
shareHashTag:String — The hashtag for this content
|
ShareOpenGraphContentBuilder — ShareOpenGraphContentBuilder instance for chaining calls
|
| TYPE | Constant |
public static const TYPE:String = openGraph_content