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