| Document | Description |
|---|---|
| GET help/languages | Returns the list of languages supported by Twitter along with their ISO 639-1 code. The ISO 639-1 code is the two letter value to use if you include lang with any of your requests. |
| GET legal/privacy | Returns Twitter's Privacy Policy in the requested format. |
| GET legal/tos | Returns the Twitter Terms of Service in the requested format. These are not the same as the Developer Rules of the Road. |
| GET trends/weekly | Returns the top 30 trending topics for each day in a given week. |
| GET trends/daily | Returns the top 20 trending topics for each hour in a given day. |
| GET direct_messages/show/:id | Returns a single direct message, specified by an id parameter. Like the /1/direct_messages.format request, this method will include the user objects of the sender and recipient. Important: This method requires an access token with RWD (read, write... |
| POST direct_messages/destroy/:id | Important: This method requires an access token with RWD (read, write... |
| Document | Description |
|---|---|
| GET users/profile_image/:screen_name | Access the profile image in various sizes for the user with the indicated screen_name. If no size is provided the normal image is returned. This resource does not return JSON or XML, but instead returns a 302 redirect to the actual image resource. This method should only be used by application... |
| GET friendships/no_retweet_ids | Returns an array of user_ids that the currently authenticated user does not want to see retweets from. |
| GET friendships/lookup | Returns the relationship of the authenticating user to the comma separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none. |
| GET friendships/show | Returns detailed information about the relationship between two users. |
| GET friendships/outgoing | Returns an array of numeric IDs for every protected user for whom the authenticating user has a pending follow request. |
| GET friendships/incoming | Returns an array of numeric IDs for every user who has a pending request to follow the authenticating user. |
| GET friends/ids | Returns an array of numeric IDs for every user the specified user is following. This method is powerful when used in conjunction with users/lookup. |
| GET statuses/:id/retweeted_by/ids | Show user ids of up to 100 users who retweeted the status. |
| 3-legged authorization | Overview The 3-legged OAuth flow allows your application to obtain an access token by redirecting a user to Twitter and having them authorize your application. This flow is almost identical to the flow described in Implementing Sign in with Twitter, with two exceptions: The GET oauth/... |
| Document | Description |
|---|---|
| Mobile sign in flow | Mobile flow The UI flow for mobile web browsers works exactly like the Browser sign in flow, but is optimized for mobile browsers. Below are screenshots for the signed in, signed out, and redirect screens: |
| Security Best Practices | Introduction A successful Twitter application is likely to get some attention. Most of that attention will be good: users singing your praises, other developers complimenting your programming chops. Some of that attention, though, might be negative. As Twitter has increased in popularity, the... |
| Document | Description |
|---|---|
| iOS sign in flow | iOS flow iOS applications which integrate with Twitter are able to request access to the credentials stored in the iOS settings. When an app requests access to the current Twitter credentials, the user will see the following operating system issued prompt: For more information... |
| Browser sign in flow | Overview The browser sign in flow is appropriate for websites and applications which are able to open or embed a web browser. At a very high level: The application renders a "Sign in with Twitter" link or button. The user clicks the sign in button. The current web browser is... |