|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserMethodsAsync
Method Summary | |
---|---|
void |
getFollowersStatuses(long cursor)
Returns the authenticating user's followers, each with current status inline. |
void |
getFollowersStatuses(long userId,
long cursor)
Returns the specified user's followers, each with current status inline. |
void |
getFollowersStatuses(java.lang.String screenName,
long cursor)
Returns the specified user's followers, each with current status inline. |
void |
getFriendsStatuses(long cursor)
Returns a user's friends, each with current status inline. |
void |
getFriendsStatuses(long userId,
long cursor)
Returns a user's friends, each with current status inline. |
void |
getFriendsStatuses(java.lang.String screenName,
long cursor)
Returns a user's friends, each with current status inline. |
void |
getMemberSuggestions(java.lang.String categorySlug)
Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user. |
void |
getProfileImage(java.lang.String screenName,
ProfileImage.ImageSize size)
Access the profile image in various sizes for the user with the indicated screen_name. |
void |
getSuggestedUserCategories()
Access to Twitter's suggested user list. |
void |
getUserSuggestions(java.lang.String categorySlug)
Access the users in a given category of the Twitter suggested user list. It is recommended that end clients cache this data for no more than one hour. |
void |
lookupUsers(long[] ids)
Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two. |
void |
lookupUsers(java.lang.String[] screenNames)
Return up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two. |
void |
searchUsers(java.lang.String query,
int page)
Run a search for users similar to the Find People button on Twitter.com; the same results returned by people search on Twitter.com will be returned by using this API. Usage note: It is only possible to retrieve the first 1000 matches from this API. |
void |
showUser(long userId)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. |
void |
showUser(java.lang.String screenName)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter. |
Method Detail |
---|
void showUser(java.lang.String screenName)
screenName
- the screen name of the user for whom to request the detailvoid showUser(long userId)
userId
- the ID of the user for whom to request the retrievevoid lookupUsers(java.lang.String[] screenNames)
screenNames
- Specifies the screen names of the users to retrieve.void lookupUsers(long[] ids)
ids
- Specifies the screen names of the users to retrieve.
TwitterException
- when Twitter service or network is unavailablevoid searchUsers(java.lang.String query, int page)
query
- The query to run against people search.page
- Specifies the page of results to retrieve. Number of statuses per page is fixed to 20.
TwitterException
- when Twitter service or network is unavailablevoid getSuggestedUserCategories()
void getUserSuggestions(java.lang.String categorySlug)
categorySlug
- slugvoid getMemberSuggestions(java.lang.String categorySlug)
categorySlug
- slugvoid getProfileImage(java.lang.String screenName, ProfileImage.ImageSize size)
screenName
- The screen name of the user for whom to return results for.size
- Specifies the size of image to fetch. Not specifying a size will give the default, normal size of 48px by 48px. Valid options include: BIGGER - 73px by 73px NORMAL - 48px by 48px MINI - 24px by 24pxvoid getFriendsStatuses(long cursor)
cursor
- Breaks the results into pages. A single page contains 100 users. This is recommended for users who are followed by many other users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getFriendsStatuses(java.lang.String screenName, long cursor)
screenName
- the screen name of the user for whom to request a list of friendscursor
- Breaks the results into pages. A single page contains 100 users. This is recommended for users who are followed by many other users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getFriendsStatuses(long userId, long cursor)
userId
- the screen name of the user for whom to request a list of friendscursor
- Breaks the results into pages. A single page contains 100 users. This is recommended for users who are followed by many other users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getFollowersStatuses(long cursor)
cursor
- Breaks the results into pages. A single page contains 100 users. This is recommended for users who are followed by many other users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getFollowersStatuses(java.lang.String screenName, long cursor)
screenName
- The screen name of the user for whom to request a list of followers.cursor
- Breaks the results into pages. A single page contains 100 users. This is recommended for users who are followed by many other users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.void getFollowersStatuses(long userId, long cursor)
userId
- The ID of the user for whom to request a list of followers.cursor
- Breaks the results into pages. A single page contains 100 users. This is recommended for users who are followed by many other users. Provide a value of -1 to begin paging. Provide values as returned to in the response body's next_cursor and previous_cursor attributes to page back and forth in the list.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |