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.
拡張: | Object |
パッケージ: | 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)
パラメーター | 説明 |
---|---|
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)
パラメーター | 説明 |
---|---|
graphNode | The graph node to share to. |