public interface FriendsFollowersMethods
Modifier and Type | Method and Description |
---|---|
IDs |
getFollowersIDs()
Returns an array of numeric IDs for every user the specified user is followed by.
|
IDs |
getFollowersIDs(int userId)
Returns an array of numeric IDs for every user the specified user is followed by.
|
IDs |
getFollowersIDs(int userId,
long cursor)
Returns an array of numeric IDs for every user the specified user is followed by.
|
IDs |
getFollowersIDs(long cursor)
Returns an array of numeric IDs for every user the specified user is followed by.
|
IDs |
getFollowersIDs(java.lang.String screenName)
Returns an array of numeric IDs for every user the specified user is followed by.
|
IDs |
getFollowersIDs(java.lang.String screenName,
long cursor)
Returns an array of numeric IDs for every user the specified user is followed by.
|
IDs |
getFriendsIDs()
Returns an array of numeric IDs for every user the authenticating user is following.
|
IDs |
getFriendsIDs(int userId)
Returns an array of numeric IDs for every user the specified user is following.
all IDs are attempted to be returned, but large sets of IDs will likely fail with timeout errors. |
IDs |
getFriendsIDs(int userId,
long cursor)
Returns an array of numeric IDs for every user the specified user is following.
|
IDs |
getFriendsIDs(long cursor)
Returns an array of numeric IDs for every user the authenticating user is following.
|
IDs |
getFriendsIDs(java.lang.String screenName)
Returns an array of numeric IDs for every user the specified user is following.
|
IDs |
getFriendsIDs(java.lang.String screenName,
long cursor)
Returns an array of numeric IDs for every user the specified user is following.
|
IDs getFriendsIDs() throws TwitterException
TwitterException
- when Twitter service or network is unavailableIDs getFriendsIDs(long cursor) throws TwitterException
cursor
- Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.TwitterException
- when Twitter service or network is unavailableIDs getFriendsIDs(int userId) throws TwitterException
userId
- Specifies the ID of the user for whom to return the friends list.TwitterException
- when Twitter service or network is unavailableIDs getFriendsIDs(int userId, long cursor) throws TwitterException
userId
- Specifies the ID of the user for whom to return the friends list.cursor
- Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.TwitterException
- when Twitter service or network is unavailableIDs getFriendsIDs(java.lang.String screenName) throws TwitterException
screenName
- Specifies the screen name of the user for whom to return the friends list.TwitterException
- when Twitter service or network is unavailableIDs getFriendsIDs(java.lang.String screenName, long cursor) throws TwitterException
screenName
- Specifies the screen name of the user for whom to return the friends list.cursor
- Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.TwitterException
- when Twitter service or network is unavailableIDs getFollowersIDs() throws TwitterException
TwitterException
- when Twitter service or network is unavailableIDs getFollowersIDs(long cursor) throws TwitterException
cursor
- Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.TwitterException
- when Twitter service or network is unavailableIDs getFollowersIDs(int userId) throws TwitterException
userId
- Specifies the ID of the user for whom to return the followers list.TwitterException
- when Twitter service or network is unavailableIDs getFollowersIDs(int userId, long cursor) throws TwitterException
userId
- Specifies the ID of the user for whom to return the followers list.cursor
- Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.TwitterException
- when Twitter service or network is unavailableIDs getFollowersIDs(java.lang.String screenName) throws TwitterException
screenName
- Specifies the screen name of the user for whom to return the followers list.TwitterException
- when Twitter service or network is unavailableIDs getFollowersIDs(java.lang.String screenName, long cursor) throws TwitterException
screenName
- Specifies the screen name of the user for whom to return the followers list.cursor
- Specifies the page number of the results beginning at 1. A single page contains 5000 ids. This is recommended for users with large ID lists. If not provided all ids are returned.TwitterException
- when Twitter service or network is unavailable