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

Key: TFJ-11
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 "sent" API

Created: 10/Jul/07 10:38 AM   Updated: 16/Jul/07 01:15 PM
Component/s: Core
Affects Version/s: None
Fix Version/s: 1.0.2


 Description  « Hide
http://groups.google.com/group/twitter-development-talk/browse_thread/thread/8ac4c0a09c171a52
--------------------
2. You can now retrieve a list of direct messages sent by the
authenticating user at:

      http://twitter.com/direct_messages/sent.[format]

The available formats are XML and JSON for now; RSS and Atom will be
added once we sort out a bug.

Both changes will be documented, as always, at: http://
groups.google.com/group/twitter-development-talk/web/api-documentation
--------------------


 All   Comments   Change History   Subversion Commits      Sort Order:
Yusuke Yamamoto - [16/Jul/07 12:21 PM ]
- added following methods to Twitter class.
    public final synchronized List<DirectMessage> getSentDirectMessages()
    public final synchronized List<DirectMessage> getSentDirectMessages(Date since)
    public final synchronized List<DirectMessage> getSentDirectMessages(int sinceId)

- added following methods to AsyncTwitter class.
    public final synchronized void getSentDirectMessagesAsync(TwitterListener listener)
    public final synchronized void getSentDirectMessagesAsync(Date since, TwitterListener listener)
    public final synchronized void getSentDirectMessagesAsync(int sinceId, TwitterListener listener)

- added following method to TwitterListener interface.
    public void gotSentDirectMessages(List<DirectMessage> messages)