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