org.springframework.social.twitter.api
Interface TwitterApi

All Known Implementing Classes:
TwitterTemplate

public interface TwitterApi

Interface specifying a basic set of operations for interacting with Twitter. Implemented by TwitterTemplate.


Method Summary
 DirectMessageOperations directMessageOperations()
          Returns the portion of the Twitter API containing the direct message operations.
 FriendOperations friendOperations()
          Returns the portion of the Twitter API containing the friends and followers operations.
 boolean isAuthorizedForUser()
          Returns true if the TwitterApi is configured to act on behalf of a user (eg., if it was created with OAuth credentials).
 ListOperations listOperations()
          Returns the portion of the Twitter API containing the user list operations.
 SearchOperations searchOperations()
          Returns the portion of the Twitter API containing the search operations.
 TimelineOperations timelineOperations()
          Returns the portion of the Twitter API containing the tweet and timeline operations.
 UserOperations userOperations()
          Returns the portion of the Twitter API containing the user operations.
 

Method Detail

isAuthorizedForUser

boolean isAuthorizedForUser()
Returns true if the TwitterApi is configured to act on behalf of a user (eg., if it was created with OAuth credentials).


directMessageOperations

DirectMessageOperations directMessageOperations()
Returns the portion of the Twitter API containing the direct message operations.


friendOperations

FriendOperations friendOperations()
Returns the portion of the Twitter API containing the friends and followers operations.


listOperations

ListOperations listOperations()
Returns the portion of the Twitter API containing the user list operations.


searchOperations

SearchOperations searchOperations()
Returns the portion of the Twitter API containing the search operations.


timelineOperations

TimelineOperations timelineOperations()
Returns the portion of the Twitter API containing the tweet and timeline operations.


userOperations

UserOperations userOperations()
Returns the portion of the Twitter API containing the user operations.