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

Key: TFJ-18
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

support for Account Methods

Created: 19/Jan/08 05:03 PM   Updated: 20/Jan/08 01:36 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.3


 Description  « Hide
------------------------------
Account Methods

verify_credentials

Returns an HTTP 200 OK response code and a format-specific response if authentication was successful. Use this method to test if supplied user credentials are valid with minimal overhead.
URL: http://twitter.com/account/verify_credentials.format
Formats: text (returned when no format is specified), xml, json
end_session

Ends the session of the authenticating user, returning a null cookie. Use this method to sign users out of client-facing applications like widgets.
URL: http://twitter.com/account/end_session
Formats: N/A
archive

Returns 80 statuses per page for the authenticating user, ordered by descending date of posting. Use this method to rapidly export your archive of statuses.
URL: http://twitter.com/account/archive.format
Formats: xml, json
Parameters:
page. Optional. Retrieves the 80 next most recent statuses. Ex: http://twitter.com/account/archive.xml?page=2
------------------------------


 All   Comments   Change History   Subversion Commits      Sort Order:
Yusuke Yamamoto - [20/Jan/08 01:36 AM ]
Here's the list of added methods.

    public final synchronized boolean verifyCredentials()
    public final synchronized List<Status> archive() throws TwitterException 
    public final synchronized List<Status> archive(int page) throws TwitterException