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. |