org.springframework.social.facebook.api
Interface Facebook

All Superinterfaces:
org.springframework.social.ApiBinding, GraphApi
All Known Implementing Classes:
FacebookTemplate

public interface Facebook
extends GraphApi, org.springframework.social.ApiBinding

Interface specifying a basic set of operations for interacting with Facebook. Implemented by FacebookTemplate.


Field Summary
 
Fields inherited from interface org.springframework.social.facebook.api.GraphApi
GRAPH_API_URL
 
Method Summary
 CommentOperations commentOperations()
          API for reading and posting comments.
 EventOperations eventOperations()
          API for performing operations on events.
 FeedOperations feedOperations()
          API for performing operations on feeds.
 FqlOperations fqlOperations()
          API for performing Facebook Query Language (FQL) queries.
 FriendOperations friendOperations()
          API for performing operations with a user's set of friends.
 String getApplicationNamespace()
           
 GroupOperations groupOperations()
          API for performing operations on groups.
 LikeOperations likeOperations()
          API for performing operations against user likes and interests.
 MediaOperations mediaOperations()
          API for performing operations on albums, photos, and videos.
 OpenGraphOperations openGraphOperations()
          API for working with OpenGraph actions.
 PageOperations pageOperations()
          API for working with Facebook pages.
 PlacesOperations placesOperations()
          API for performing Facebook Places checkin operations.
 QuestionOperations questionOperations()
          API for performing question operations.
 RestOperations restOperations()
          Returns the underlying RestOperations object allowing for consumption of Facebook endpoints that may not be otherwise covered by the API binding.
 UserOperations userOperations()
          API for performing operations on Facebook user profiles.
 
Methods inherited from interface org.springframework.social.facebook.api.GraphApi
delete, delete, fetchConnections, fetchConnections, fetchConnections, fetchImage, fetchObject, fetchObject, post, publish
 
Methods inherited from interface org.springframework.social.ApiBinding
isAuthorized
 

Method Detail

commentOperations

CommentOperations commentOperations()
API for reading and posting comments.


eventOperations

EventOperations eventOperations()
API for performing operations on events.


feedOperations

FeedOperations feedOperations()
API for performing operations on feeds.


fqlOperations

FqlOperations fqlOperations()
API for performing Facebook Query Language (FQL) queries.


friendOperations

FriendOperations friendOperations()
API for performing operations with a user's set of friends.


groupOperations

GroupOperations groupOperations()
API for performing operations on groups.


likeOperations

LikeOperations likeOperations()
API for performing operations against user likes and interests.


mediaOperations

MediaOperations mediaOperations()
API for performing operations on albums, photos, and videos.


openGraphOperations

OpenGraphOperations openGraphOperations()
API for working with OpenGraph actions.


pageOperations

PageOperations pageOperations()
API for working with Facebook pages.


placesOperations

PlacesOperations placesOperations()
API for performing Facebook Places checkin operations.


questionOperations

QuestionOperations questionOperations()
API for performing question operations.


userOperations

UserOperations userOperations()
API for performing operations on Facebook user profiles.


restOperations

RestOperations restOperations()
Returns the underlying RestOperations object allowing for consumption of Facebook endpoints that may not be otherwise covered by the API binding. The RestOperations object returned is configured to include an OAuth 2 "Authorization" header on all requests.


getApplicationNamespace

String getApplicationNamespace()
Specified by:
getApplicationNamespace in interface GraphApi
Returns:
the application namespace that this FacebookTemplate was created for. May be null if no namespace was given.