
API Support matrix
Timeline Resources
Tweets Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| statuses/show/:id.json | showStatus(statusId) | ✔ | N/A | |
| statuses/update.json | updateStatus(status) | ✔ | N/A | |
| statuses/destroy/:id.json | destroyStatus(statusId) | ✔ | N/A | |
| statuses/retweet/:id.json | retweetStatus(statusId) | ✔ | N/A | |
| statuses/retweets/:id.json | getRetweets(statusId) | ✔ | ✔ | N/A |
| statuses/:id/retweeted_by.json | getRetweetedBy(statusId) | ✔ | N/A | |
| statuses/:id/retweeted_by/ids.json | getRetweetedByIds(statusId) | ✔ | ✔ | N/A |
User Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| users/show.json | showUser(userId) | ✔ | N/A | |
| users/lookup.json | lookupUsers(userId[]) | ✔ | ✔ | N/A |
| users/search.json | searchUsers(query, page) | ✔ | ✔ | ✔ p |
| users/suggestions.json | getSuggestedUserCategories() | ✔ | N/A | |
| users/suggestions/:slug.json | getUserSuggestions(categorySlug) | ✔ | N/A | |
| users/suggestions/:slug/members.json | getMemberSuggestions(categorySlug) | ✔ | N/A | |
| users/profile_image/:screen_name.json | getProfileImage(screenName, size) | ✔ | N/A |
Trends Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| trends.json | getTrends() | ✔ | N/A | |
| trends/current.json | getCurrentTrends() | ✔ | N/A | |
| trends/daily.json | getDailyTrends() | ✔ | N/A | |
| trends/weekly.json | getWeeklyTrends() | ✔ | N/A |
Local Trends Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| trends/available.json | getAvailableTrends() | ✔ | N/A | |
| trends/:woeid.json | getLocationTrends(woeid) | ✔ | N/A |
List Resources
List Members Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| lists/members.json | getUserListMembers(listId, cursor) | ✔ | ✔ C | |
| lists/members/create.json | addUserListMember(listId, userId) | ✔ | N/A | |
| lists/members/create_all.json | addUserListMembers(listId, userIDs[]) | ✔ | N/A | |
| lists/members/destroy.json | deleteUserListMember(listId, userId) | ✔ | N/A | |
| lists/members/show.json | showUserListMembership(listId, userId) | ✔ | ✔ | N/A |
List Subscribers Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| lists/subscribers.json | getUserListSubscribers(listId, cursor) | ✔ | ✔ | ✔ C |
| lists/subscribers/create.json | createUserListSubscription(listId) | ✔ | N/A | |
| lists/subscribers/destroy.json | destroyUserListSubscription(listId) | ✔ | N/A | |
| lists/subscribers/show.json | showUserListSubscription(listId, userId) | ✔ | ✔ | N/A |
Direct Message Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| direct_messages.json | getDirectMessages() | ✔ | ✔ | ✔ smcp |
| direct_messages/sent.json | getSentDirectMessages() | ✔ | ✔ | ✔ smcp |
| direct_messages/new.json | sendDirectMessage(userId, text) | ✔ | N/A | |
| direct_messages/destroy/:id.json | destroyDirectMessage(directMessageId) | ✔ | N/A | |
| direct_messages/show/:id.json | showDirectMessage(directMessageId) | ✔ | ✔ | N/A |
Friendship Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| friendships/create.json | createFriendship(userId) | ✔ | N/A | |
| friendships/destroy.json | destroyFriendship(userId) | ✔ | N/A | |
| friendships/exists.json | existsFriendship(userA, userB) | ✔ | N/A | |
| friendships/show.json | showFriendship(sourceId, targetId) | ✔ | N/A | |
| friendships/incoming.json | getIncomingFriendships(cursor) | ✔ | ✔ | N/A |
| friendships/outgoing.json | getOutgoingFriendships(cursor) | ✔ | ✔ | N/A |
| friendships/lookup.json | lookupFriendships(userIds[]) | ✔ | ✔ | N/A |
Friends and Followers Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| friends/ids.json | getFriendsIDs() | ✔ | ✔ C | |
| followers/ids.json | getFollowersIDs() | ✔ | ✔ C |
Account Resources
Favorite Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| favorites.json | getFavorites() | ✔ | ✔ | ✔ p |
| favorites/create/:id.json | createFavorite(statusId) | ✔ | N/A | |
| favorites/destroy/:id.json | destroyFavorite(statusId) | ✔ | N/A |
Notification Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| notifications/follow.json | enableNotification(userId) | ✔ | N/A | |
| notifications/leave.json | disableNotification(userId) | ✔ | N/A |
Block Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| blocks/create.json | createBlock(userId) | ✔ | N/A | |
| blocks/destroy.json | destroyBlock(userId) | ✔ | N/A | |
| blocks/exists.json | existsBlock(userId) | ✔ | ✔ | N/A |
| blocks/blocking.json | getBlockingUsers() | ✔ | ✔ | ✔ p |
| blocks/blocking/ids.json | getBlockingUsersIDs() | ✔ | ✔ | N/A |
Spam Reporting Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| report_spam.json | reportSpam(userId) | ✔ | N/A |
Saved Searches Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| saved_searches.json | getSavedSearches() | ✔ | ✔ | N/A |
| saved_searches/show/:id.json | showSavedSearch(savedSearchId) | ✔ | ✔ | N/A |
| saved_searches/create.json | createSavedSearch(query) | ✔ | N/A | |
| saved_searches/destroy/:id.json | destroySavedSearch(savedSearchId) | ✔ | N/A |
Geo Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| geo/search.json | searchPlaces(geoQuery) | ✔ | N/A | |
| geo/similar_places.json | getSimilarPlaces(location, name, containedWithin, streetAddress) | ✔ | N/A | |
| geo/reverse_geocode.json | reverseGeoCode(geoQuery) | ✔ | N/A | |
| geo/id/:place_id.json | getGeoDetails(placeId) | ✔ | N/A | |
| geo/place.json | createPlace(name, containedWithin, token, location, streetAddress) | ✔ | ✔ | N/A |
Legal Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| legal/tos.json | getTermsOfService() | ✔ | N/A | |
| legal/privacy.json | getPrivacyPolicy() | ✔ | N/A |
Help Resource
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| help/test.json | test() | N/A | ||
| help/configuration.json | test() | ✔ | N/A | |
| help/languages.json | test() | ✔ | N/A |
Streamed Tweets Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Publicly Available |
|---|---|---|---|---|
| statuses/filter.json | filter() | ✔ | ✔ | |
| statuses/firehose.json | firehose() | ✔ | N/A | |
| statuses/links.json | links() | ✔ | N/A | |
| statuses/retweet.json | retweet() | ✔ | N/A | |
| statuses/sample.json | sample() | ✔ | ✔ |
Search API Resources
| Resources | Twitter4J Method | Credentials required | Rate limited | Pagination(*) |
|---|---|---|---|---|
| search.json | search(query) | ✔ | ✔ pcs(via Query) |