API Support matrix
Search API Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| search | search() | ✔ pcs(via Query) |
| trends | getTrends() | |
| trends/current | getCurrentTrends() | |
| trends/daily | getDailyTrends() | |
| trends/weekly | getWeeklyTrends() |
Timeline Methods
Status Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| statuses/show | showStatus() | |
| statuses/update | updateStatus() | |
| statuses/destroy | destroyStatus() | |
| statuses/retweet | retweetStatus() | |
| statuses/retweets | getRetweets() |
User Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| users/show | showUser() | |
| statuses/friends | getFriendsStatuses() | ✔ p |
| statuses/followers | getFollowersStatuses() | ✔ p |
Direct Message Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| direct_messages | getDirectMessages() | ✔ smcp |
| direct_messages/sent | getSentDirectMessages() | ✔ smp |
| direct_messages/new | sendDirectMessage() | |
| direct_messages/destroy | deleteDirectMessage() |
Friendship Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| friendships/create | createFriendship() | |
| friendships/destroy | destroyFriendship() | |
| friendships/exists | existsFriendship() |
Social Graph Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| friends/ids | getFriendsIDs() | ✔p |
| followers/ids | getFollowersIDs() | ✔p |
Account Methods
Favorite Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| favorites | getFavorites() | ✔p |
| favorites/create | createFavorite() | |
| favorites/destroy | destroyFavorite() |
Notification Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| notifications/follow | enableNotification() | |
| notifications/leave | disableNotification() |
Block Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| blocks/create | createBlock() | |
| blocks/destroy | destroyBlock() | |
| blocks/exists | existsBlock() | |
| blocks/blocking | getBlockingUsers() | ✔p |
| blocks/ids | getBlockingUsersIDs() |
Spam Reporting Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| report_spam | not yet supported(TFJ-223) |
Saved Searches Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| saves_searches | getSavedSearches() | |
| saves_searches/show | showSavedSearch() | |
| saves_searches/create | createSavedSearch() | |
| saves_searches/destroy | destroySavedSearch() |
Help Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| help/test | test() |
Streaming API Methods
| Twitter API Path | Twitter4J Method | Paging(*) |
|---|---|---|
| firehose | firehose() | |
| gardenhose | retweet() | |
| spritzer | sample() | ✔ |
| birddog | filter() | ✔ |