public interface GeneralActions
Modifier and Type | Method and Description |
---|---|
String |
follow(String profileUrl)
Publishes a "og.follows" action for the OpenGraph object defined at the given URL.
|
String |
follow(String profileUrl,
ActionMetadata metadata)
Publishes a "og.follows" action for the OpenGraph object defined at the given URL.
|
String |
like(String objectUrl)
Publishes a "og.likes" action for the OpenGraph object defined at the given URL.
|
String |
like(String objectUrl,
ActionMetadata metadata)
Publishes a "og.likes" action for the OpenGraph object defined at the given URL.
|
String like(String objectUrl)
objectUrl
- The URL of the OpenGraph object that is to be liked.String like(String objectUrl, ActionMetadata metadata)
objectUrl
- The URL of the OpenGraph object that is to be liked.metadata
- Action metadata to be applied to the action.String follow(String profileUrl)
profileUrl
- The URL of the OpenGraph object that is to be followed.String follow(String profileUrl, ActionMetadata metadata)
profileUrl
- The URL of the OpenGraph object that is to be followed.metadata
- Action metadata to be applied to the action.