twitter4j.api
Interface SocialGraphMethodsAsync

All Known Implementing Classes:
AsyncTwitter

public interface SocialGraphMethodsAsync

Author:
Joern Huxhorn - jhuxhorn at googlemail.com

Method Summary
 void getFollowersIDs()
          Returns an array of numeric IDs for every user the specified user is followed by.
 void getFollowersIDs(int userId)
          Returns an array of numeric IDs for every user the specified user is followed by.
 void getFollowersIDs(int userId, long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 void getFollowersIDs(long cursor)
          Returns an array of numeric IDs for every user the specified user is followed by.
 void getFollowersIDs(java.lang.String screenName)
          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()
          Returns an array of numeric IDs for every user the authenticating user is following.
 void getFriendsIDs(int userId)
          Returns an array of numeric IDs for every user the specified user is following.
 void getFriendsIDs(int userId, long cursor)
          Returns an array of numeric IDs for every user the specified user is following.
 void getFriendsIDs(long cursor)
          Returns an array of numeric IDs for every user the authenticating user is following.
 void getFriendsIDs(java.lang.String screenName)
          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()
Returns an array of numeric IDs for every user the authenticating user is following.
This method calls http://api.twitter.com/1/friends/ids%C2%A0%C2%A0

Since:
Twitter4J 2.0.0
See Also:
Twitter API Wiki / Twitter REST API Method: friends%C2%A0ids

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%C2%A0%C2%A0

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:
Twitter API Wiki / Twitter REST API Method: friends%C2%A0ids

getFriendsIDs

void getFriendsIDs(int userId)
Returns an array of numeric IDs for every user the specified user is following.
This method calls http://api.twitter.com/1/friends/ids%C2%A0%C2%A0

Parameters:
userId - Specifies the ID of the user for whom to return the friends list.
Since:
Twitter4J 2.0.0
See Also:
Twitter API Wiki / Twitter REST API Method: friends%C2%A0ids

getFriendsIDs

void getFriendsIDs(int 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%C2%A0%C2%A0

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:
Twitter API Wiki / Twitter REST API Method: friends%C2%A0ids

getFriendsIDs

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

Parameters:
screenName - Specifies the screen name of the user for whom to return the friends list.
Since:
Twitter4J 2.0.0
See Also:
Twitter API Wiki / Twitter REST API Method: friends%C2%A0ids

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%C2%A0%C2%A0

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:
Twitter API Wiki / Twitter REST API Method: friends%C2%A0ids

getFollowersIDs

void getFollowersIDs()
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

Since:
Twitter4J 2.0.0
See Also:
Twitter API Wiki / Twitter REST API Method: followers%C2%A0ids

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

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:
Twitter API Wiki / Twitter REST API Method: followers%C2%A0ids

getFollowersIDs

void getFollowersIDs(int userId)
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

Parameters:
userId - Specifies the ID of the user for whom to return the followers list.
Since:
Twitter4J 2.0.0
See Also:
Twitter API Wiki / Twitter REST API Method: followers%C2%A0ids

getFollowersIDs

void getFollowersIDs(int 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

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:
Twitter API Wiki / Twitter REST API Method: followers%C2%A0ids

getFollowersIDs

void getFollowersIDs(java.lang.String screenName)
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

Parameters:
screenName - Specifies the screen name of the user for whom to return the followers list.
Since:
Twitter4J 2.0.0
See Also:
Twitter API Wiki / Twitter REST API Method: followers%C2%A0ids

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

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:
Twitter API Wiki / Twitter REST API Method: followers%C2%A0ids