Issue Details (XML | Word | Printable)

Key: TFJ-45
Type: New Feature
Status: Closed
Resolution: Fixed
Priority: Major
Assignee: Yusuke Yamamoto
Reporter: Yusuke Yamamoto
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Twitter4J

getFollowers() should accept id and/or page parameter

Created: 02/Nov/08 11:32 AM   Updated: 02/Nov/08 02:12 PM
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.1.0


 Description  « Hide
followers
Returns the authenticating user's followers, each with current status inline. They are ordered by the order in which they joined Twitter (this is going to be changed).
URL: http://twitter.com/statuses/followers.format
Formats: xml, json
Method(s): GET
Parameters:
id. Optional. The ID or screen name of the user for whom to request a list of followers. Ex: http://twitter.com/statuses/followers/12345.json or http://twitter.com/statuses/followers/bob.xml
page. Optional. Retrieves the next 100 followers. Ex: http://twitter.com/statuses/followers.xml?page=2
 

 All   Comments   Change History   FishEye      Sort Order:
Yusuke Yamamoto added a comment - 02/Nov/08 02:12 PM
added following methods:

twitter.Twitter
    public final synchronized List<User> getFollowers(int page) throws TwitterException
    public final synchronized List<User> getFollowers(String id) throws TwitterException
    public final synchronized List<User> getFollowers(String id, int page) throws TwitterException

twitter.AsyncTwitter
    public final synchronized void getFollowersAsync(int page, TwitterListener listener)
    public final synchronized void getFollowersAsync(String id, TwitterListener listener)
    public final synchronized void getFollowersAsync(String id, int page, TwitterListener listener)