twitter4j.api
Interface FriendsFollowersMethodsAsync

All Known Subinterfaces:
AsyncTwitter
All Known Implementing Classes:
AsyncTwitterImpl

public interface FriendsFollowersMethodsAsync

Author:
Joern Huxhorn - jhuxhorn at googlemail.com

Method Summary
 void getFollowersIDs(long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 void getFollowersIDs(long userId, long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 void getFollowersIDs(java.lang.String screenName, long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 void getFriendsIDs(long cursor)
          Returns an array of numeric IDs for every user the authenticating user is following.
 void getFriendsIDs(long userId, long cursor)
          Returns an array of numeric IDs for every user the specified user is following.
 void getFriendsIDs(java.lang.String screenName, long cursor)
          Returns an array of numeric IDs for every user the specified user is following.
 

Method Detail

getFriendsIDs

void getFriendsIDs(long cursor)
Returns an array of numeric IDs for every user the authenticating user is following.
This method calls http://api.twitter.com/1/friends/ids.json

Parameters:
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.
Since:
Twitter4J 2.0.10
See Also:
GET friends/ids | dev.twitter.com

getFriendsIDs

void getFriendsIDs(long userId,
                   long cursor)
Returns an array of numeric IDs for every user the specified user is following.
This method calls http://api.twitter.com/1/friends/ids.json

Parameters:
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.
Since:
Twitter4J 2.0.10
See Also:
GET friends/ids | dev.twitter.com

getFriendsIDs

void getFriendsIDs(java.lang.String screenName,
                   long cursor)
Returns an array of numeric IDs for every user the specified user is following.
This method calls http://api.twitter.com/1/friends/ids.json

Parameters:
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.
Since:
Twitter4J 2.0.10
See Also:
GET friends/ids | dev.twitter.com

getFollowersIDs

void getFollowersIDs(long cursor)
Returns an array of numeric IDs for every user the specified user is followed by.
This method calls http://api.twitter.com/1/followers/ids.json

Parameters:
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.
Since:
Twitter4J 2.0.10
See Also:
GET followers/ids | dev.twitter.com

getFollowersIDs

void getFollowersIDs(long userId,
                     long cursor)
Returns an array of numeric IDs for every user the specified user is followed by.
This method calls http://api.twitter.com/1/followers/ids.json

Parameters:
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.
Since:
Twitter4J 2.0.10
See Also:
GET followers/ids | dev.twitter.com

getFollowersIDs

void getFollowersIDs(java.lang.String screenName,
                     long cursor)
Returns an array of numeric IDs for every user the specified user is followed by.
This method calls http://api.twitter.com/1/followers/ids.json

Parameters:
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.
Since:
Twitter4J 2.0.10
See Also:
GET followers/ids | dev.twitter.com