|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FitnessActions
Defines operations for publishing OpenGraph actions pertaining to fitness. Many OpenGraph operations require approval from Facebook. See https://developers.facebook.com/docs/opengraph/submission-process for details.
Method Summary | |
---|---|
String |
bikes(String courseUrl)
Publishes a "fitness.bikes" action for the OpenGraph course object at the given URL. |
String |
bikes(String courseUrl,
ActionMetadata metadata)
Publishes a "fitness.bikes" action for the OpenGraph course object at the given URL. |
String |
runs(String courseUrl)
Publishes a "fitness.runs" action for the OpenGraph course object at the given URL. |
String |
runs(String courseUrl,
ActionMetadata metadata)
Publishes a "fitness.runs" action for the OpenGraph course object at the given URL. |
String |
walks(String courseUrl)
Publishes a "fitness.walks" action for the OpenGraph course object at the given URL. |
String |
walks(String courseUrl,
ActionMetadata metadata)
Publishes a "fitness.walks" action for the OpenGraph course object at the given URL. |
Method Detail |
---|
String runs(String courseUrl)
courseUrl
- The URL of the course that was run. Must reference an OpenGraph object of type "fitness.course".
String runs(String courseUrl, ActionMetadata metadata)
courseUrl
- The URL of the course that was run. Must reference an OpenGraph object of type "fitness.course".metadata
- Action metadata to be applied to the action.
String walks(String courseUrl)
courseUrl
- The URL of the course that was walked. Must reference an OpenGraph object of type "fitness.course".
String walks(String courseUrl, ActionMetadata metadata)
courseUrl
- The URL of the course that was walked. Must reference an OpenGraph object of type "fitness.course".metadata
- Action metadata to be applied to the action.
String bikes(String courseUrl)
courseUrl
- The URL of the course that was biked. Must reference an OpenGraph object of type "fitness.course".
String bikes(String courseUrl, ActionMetadata metadata)
courseUrl
- The URL of the course that was biked. Must reference an OpenGraph object of type "fitness.course".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 |