|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Twitter
A specialization of OAuthService to add TwitterRelated specific methods
| Field Summary | |
|---|---|
static String |
TYPE
|
| Method Summary | |
|---|---|
TwitterProfile |
getMyProfile()
Retrieves the authenticated user's Twitter profile details. |
String |
getProfileId()
Retrieves the authenticated user's Twitter ID. |
String |
getScreenName()
Retrieves the authenticated user's Twitter screen name |
List<SuggestionCategory> |
getSuggestionCategories()
Retrieves a list of categories from which suggested users to follow may be found. |
List<TwitterProfile> |
getSuggestions(String slug)
Retrieves a list of suggestions of users to follow for a given category. |
TwitterProfile |
getUserProfile(long userId)
Retrieves a specific user's Twitter profile details. |
TwitterProfile |
getUserProfile(String screenName)
Retrieves a specific user's Twitter profile details. |
List<TwitterProfile> |
getUsers(Long... userIds)
Retrieves a list of Twitter profiles for the given list of user IDs. |
List<TwitterProfile> |
getUsers(String... screenNames)
Retrieves a list of Twitter profiles for the given list of screen names. |
List<TwitterProfile> |
searchForUsers(String query)
Searches for users that match a given query. |
| Methods inherited from interface org.jboss.seam.social.core.OAuthService |
|---|
getAccessToken, getAuthorizationUrl, getName, getServiceLogo, getSession, getSettings, getType, getVerifier, getVerifierParamName, initAccessToken, isConnected, resetConnection, sendSignedRequest, sendSignedRequest, sendSignedRequest, sendSignedXmlRequest, setAccessToken, setAccessToken, setSession, setSettings, setVerifier |
| Methods inherited from interface org.jboss.seam.social.core.HasStatus |
|---|
getStatus, setStatus, updateStatus, updateStatus |
| Field Detail |
|---|
static final String TYPE
| Method Detail |
|---|
String getProfileId()
ApiException - if there is an error while communicating with Twitter.
MissingAuthorizationException - if TwitterTemplate was not created with OAuth credentials.String getScreenName()
ApiException - if there is an error while communicating with Twitter.
MissingAuthorizationException - if TwitterTemplate was not created with OAuth credentials.TwitterProfile getMyProfile()
getMyProfile in interface OAuthServiceTwitterProfile object representing the user's profile.
ApiException - if there is an error while communicating with Twitter.
MissingAuthorizationException - if TwitterTemplate was not created with OAuth credentials.TwitterProfile getUserProfile(String screenName)
screenName - the screen name for the user whose details are to be retrieved.
TwitterProfile object representing the user's profile.
ApiException - if there is an error while communicating with Twitter.TwitterProfile getUserProfile(long userId)
userId - the user ID for the user whose details are to be retrieved.
TwitterProfile object representing the user's profile.
ApiException - if there is an error while communicating with Twitter.List<TwitterProfile> getUsers(Long... userIds)
ApiException - if there is an error while communicating with Twitter.List<TwitterProfile> getUsers(String... screenNames)
ApiException - if there is an error while communicating with Twitter.List<TwitterProfile> searchForUsers(String query)
ApiException - if there is an error while communicating with Twitter.
MissingAuthorizationException - if TwitterTemplate was not created with OAuth credentials.List<SuggestionCategory> getSuggestionCategories()
ApiException - if there is an error while communicating with Twitter.List<TwitterProfile> getSuggestions(String slug)
slug - the category's slug
ApiException - if there is an error while communicating with Twitter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||