Troubleshooting

The endpoints we release in Labs will be previews and are likely to change before they are released broadly, so we encourage you to take that into consideration as you build. Before getting started, we encourage you to read more about Twitter Developer Labs.
 

Jump to...

GET /tweets

GET /users

GET /tweets

How many Tweets can I request per API call?

You can include up to 100 Tweets per request. Just make sure you pass a comma-separated list of Tweet IDs with the ids parameter.
 

What is the difference between the Labs GET /tweets functionality and the v1.1 GET statuses/lookup and GET statuses/show/:id endpoints?

We have a page in our documentation that explains the general differences between the older endpoints and the Labs endpoints. The Labs GET /tweets function is different in several key ways:

  • Returns a completely new JSON rendering of a Tweet from v1.1
  • Combines functions for single and multiple Tweet lookups
  • Adds support for rendering Polls when relevant
  • Adds support for formats, which allow you to pull a compact, default, or detailed level of information from your Tweets.
  • Adds support for Tweet-specific expansions, like the option to get the full Tweet object for referenced Tweets in one request
     

What are the differences between Labs GET /tweets and the existing Search APIs and search/tweets?

The Labs GET /tweets endpoint is mean to hydrate a set of Tweets IDs that you pass through with your request, allowing you to see all of the metadata associated with those Tweets.

The existing Search API and search/tweets products allow you to build a boolean search query using a set of filtering operators to find related Tweets.
 

Are there any situations that would prevent me from requesting a specific Tweet with this endpoint?

If you are using OAuth 1.0a to make your request, then GET /tweets requests will not return a Tweet in the following situations:

  • If the author of a tweet has blocked the requesting user
  • If the author has a protected account and the requesting user is not following the author

If you are using OAuth2 to make your request, then GET /tweets requests will not return a Tweet in the following situations:

GET /users

How many users can I request per API call?

You can include up to 100 users per request. Just make sure you pass a comma-separated list of user IDs or screen names with the ids or screen names parameters, respectively.

What is the difference between the Labs GET /users functionality and the older v1.1 GET users/lookup and GET users/show endpoints?

Please see our documentation that explains the general differences between the older endpoints and the Labs endpoints. The Labs GET /users function is different in several key ways:

  • Returns a completely new JSON rendering of a Tweet from v1.1
  • Combines functions for single and multiple user lookups
  • Adds support for user-specific expansions, like the option to get the full or partial user object for referenced Tweets in one request
  • Adds support for formats, which allow you to pull a compact, default, or detailed level of information from your Tweets

Additional resources

  • Get started building with our quick start guides.
  • Check out our API reference to learn more about what’s available.
  • Give feedback on Twitter Developer Labs.
  • Tell us about your experience using the Twitter Developer Labs endpoints by filling out this survey.