Provides an interface for sharing through the graph API. Using this class requires an access token in AccessToken.currentAccessToken that has been granted the "publish_actions" permission.
Extends: | Object |
Package: | share |
getMessage()
Returns the message the person has provided through the custom dialog that will accompany the share content.
public String getMessage()
setMessage(String)
Sets the message the person has provided through the custom dialog that will accompany the share content.
public void setMessage(String message)
Parameter | Description |
---|---|
message | The message. |
getGraphNode()
Returns the graph node to share to.
public String getGraphNode()
setGraphNode(String)
Sets the graph node to share to (this can be a user id, event id, page id, group id, album id, etc).
public void setGraphNode(String graphNode)
Parameter | Description |
---|---|
graphNode | The graph node to share to. |