Spring Social Facebook

org.springframework.social.facebook.api
Interface OpenGraphOperations


public interface OpenGraphOperations

Defines operations for working with Facebook OpenGraph actions.

Author:
habuma

Method Summary
 java.lang.String publishAction(java.lang.String action, java.lang.String objectType, java.lang.String objectUrl)
          Posts an action for an object specified by the given object URL.
 

Method Detail

publishAction

java.lang.String publishAction(java.lang.String action,
                               java.lang.String objectType,
                               java.lang.String objectUrl)
Posts an action for an object specified by the given object URL.

Parameters:
action - The application specific action to post, without the application's namespace. (eg, "drink")
objectType - The application specific object type, without the application's namespace. (eg, "beverage")
objectUrl - The URL of the object that is the target of the action.
Returns:
the ID of the posted action.

Spring Social Facebook