|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.social.facebook.api.impl.GeneralActionsTemplate
public class GeneralActionsTemplate
Constructor Summary | |
---|---|
GeneralActionsTemplate(OpenGraphOperations openGraphOperations)
|
Method Summary | |
---|---|
String |
follow(String profile)
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 object)
Publishes a "og.likes" action for the OpenGraph object defined at the given URL. |
String |
like(String object,
ActionMetadata metadata)
Publishes a "og.likes" action for the OpenGraph object defined at the given URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneralActionsTemplate(OpenGraphOperations openGraphOperations)
Method Detail |
---|
public String like(String object)
GeneralActions
like
in interface GeneralActions
object
- The URL of the OpenGraph object that is to be liked.
public String like(String object, ActionMetadata metadata)
GeneralActions
like
in interface GeneralActions
object
- The URL of the OpenGraph object that is to be liked.metadata
- Action metadata to be applied to the action.
public String follow(String profile)
GeneralActions
follow
in interface GeneralActions
profile
- The URL of the OpenGraph object that is to be followed.
public String follow(String profileUrl, ActionMetadata metadata)
GeneralActions
follow
in interface GeneralActions
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 |