spring-social-facebook

org.springframework.social.facebook.api
Interface FitnessActions

All Known Implementing Classes:
FitnessActionsTemplate

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.

Author:
Craig Walls

Method Summary
 java.lang.String bikes(java.lang.String courseUrl)
          Publishes a "fitness.bikes" action for the OpenGraph course object at the given URL.
 java.lang.String bikes(java.lang.String courseUrl, ActionMetadata metadata)
          Publishes a "fitness.bikes" action for the OpenGraph course object at the given URL.
 java.lang.String runs(java.lang.String courseUrl)
          Publishes a "fitness.runs" action for the OpenGraph course object at the given URL.
 java.lang.String runs(java.lang.String courseUrl, ActionMetadata metadata)
          Publishes a "fitness.runs" action for the OpenGraph course object at the given URL.
 java.lang.String walks(java.lang.String courseUrl)
          Publishes a "fitness.walks" action for the OpenGraph course object at the given URL.
 java.lang.String walks(java.lang.String courseUrl, ActionMetadata metadata)
          Publishes a "fitness.walks" action for the OpenGraph course object at the given URL.
 

Method Detail

runs

java.lang.String runs(java.lang.String courseUrl)
Publishes a "fitness.runs" action for the OpenGraph course object at the given URL.

Parameters:
courseUrl - The URL of the course that was run. Must reference an OpenGraph object of type "fitness.course".
Returns:
The ID for the action created.

runs

java.lang.String runs(java.lang.String courseUrl,
                      ActionMetadata metadata)
Publishes a "fitness.runs" action for the OpenGraph course object at the given URL.

Parameters:
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.
Returns:
The ID for the action created.

walks

java.lang.String walks(java.lang.String courseUrl)
Publishes a "fitness.walks" action for the OpenGraph course object at the given URL.

Parameters:
courseUrl - The URL of the course that was walked. Must reference an OpenGraph object of type "fitness.course".
Returns:
The ID for the action created.

walks

java.lang.String walks(java.lang.String courseUrl,
                       ActionMetadata metadata)
Publishes a "fitness.walks" action for the OpenGraph course object at the given URL.

Parameters:
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.
Returns:
The ID for the action created.

bikes

java.lang.String bikes(java.lang.String courseUrl)
Publishes a "fitness.bikes" action for the OpenGraph course object at the given URL.

Parameters:
courseUrl - The URL of the course that was biked. Must reference an OpenGraph object of type "fitness.course".
Returns:
The ID for the action created.

bikes

java.lang.String bikes(java.lang.String courseUrl,
                       ActionMetadata metadata)
Publishes a "fitness.bikes" action for the OpenGraph course object at the given URL.

Parameters:
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.
Returns:
The ID for the action created.

spring-social-facebook