|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ListSubscribersMethodsAsync
Method Summary | |
---|---|
void |
checkUserListSubscription(java.lang.String listOwnerScreenName,
int listId,
long userId)
Check if the specified user is a subscriber of the specified list. |
void |
getUserListSubscribers(java.lang.String listOwnerScreenName,
int listId,
long cursor)
Returns the subscribers of the specified list. |
void |
subscribeUserList(java.lang.String listOwnerScreenName,
int listId)
Make the authenticated user follow the specified list. |
void |
unsubscribeUserList(java.lang.String listOwnerScreenName,
int listId)
Unsubscribes the authenticated user form the specified list. |
Method Detail |
---|
void getUserListSubscribers(java.lang.String listOwnerScreenName, int listId, long cursor)
listOwnerScreenName
- The screen name of the list ownerlistId
- The id of the listcursor
- Breaks the results into pages. A single page contains 20 lists. 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 subscribeUserList(java.lang.String listOwnerScreenName, int listId)
listOwnerScreenName
- The screen name of the list ownerlistId
- The id of the list.void unsubscribeUserList(java.lang.String listOwnerScreenName, int listId)
listOwnerScreenName
- The screen name of the list ownerlistId
- The id of the list.void checkUserListSubscription(java.lang.String listOwnerScreenName, int listId, long userId)
listOwnerScreenName
- The screen name of the list ownerlistId
- The id of the list.userId
- The id of the user who you want to know is a member or not of the specified list.
, or the user is not a member of the specified list(TwitterException.getStatusCode() returns 404 in that case.)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |