History | Log In      
Issue Details (XML | Word | Printable)

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

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

ability to specify "page" to getFriends() method

Created: Friday 02:10 AM   Updated: Sunday 01:37 AM
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.0.3


 Description  « Hide
-------
friends

Returns up to 100 of the authenticating user's friends who have most recently updated, each with current status inline. It's also possible to request another user's recent friends list via the id parameter below.
URL: http://twitter.com/statuses/friends.format
Formats: xml, json
Parameters:
id. Optional. The ID or screen name of the user for whom to request a list of friends. Ex: http://twitter.com/statuses/friends/12345.json or http://twitter.com/statuses/friends/bob.xml
page. Optional. Retrieves the next 100 friends. Ex: http://twitter.com/statuses/friends.xml?page=2
--------

 All   Comments   Change History   Subversion Commits      Sort Order:
Yusuke Yamamoto - [20/Jan/08 01:37 AM ]
Following methods were added.

  public final synchronized List<User> getFriends(int page) throws TwitterException 
  public final synchronized List<User> getFriends(String id,int page) throws TwitterException