|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeneralActions
Defines operations for publishing general OpenGraph actions such as "og.likes" and "og.follows". Many OpenGraph operations require approval from Facebook. See https://developers.facebook.com/docs/opengraph/submission-process for details.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |