Labs Changelog

This page tracks recent changes to Twitter Developer Labs platform. Please check back here for updates and other Labs changes.

If you are interested in seeing some of the future launches and updates that we are currently working towards, please review our developer platform roadmap.

August 27th, 2019

New Tweet metrics are now available in Labs

You can now retrieve engagement data for any Tweet or list of Tweets from owned/authorized accounts. The Tweets you query must be no older than 30 days and cannot be Retweets.

GET /tweets/metrics/private supports the following metrics:

  • impressions
  • Retweets
  • Quote Tweets
  • likes
  • replies
  • video views
  • video view quartiles (where the requester is also the author of the media)


Learn more about this launch via our forum announcement.

 

August 12th, 2019

New expansion for GET /users: pinned Tweet in Twitter Developer Labs

  • pinned_tweet_id will expand a user’s pinned Tweet through our user object expansion.

 

July 31st, 2019

New metadata available for Quote Tweet counts:

  • Developers can use the new Labs endpoints to pull counts of Quote Tweets.

New expansion for GET /users: most recent Tweet

  • most_recent_tweet_id will expand a user’s most recent Tweet through our user object expansion.

Learn more about this launch via our forum announcement.

 

June 20th, 2019

New expansions for GET /tweets: referenced author and mentioned user

We added two new expansions to the GET /tweets endpoint:

  • entities.mentions.username will expand the username of any recognized user mention in a Tweet into a full user object.
  • referenced_tweets.id.author_id expands the ID of the author of any referenced Tweet, when one of the Tweets requested is a Retweet, Quoted Tweet or Reply. This expansion will also expand the referenced Tweet ID into a full object.

 

Documentation Added code samples for JavaScript (Node.js)

The Quick Start guides have been updated with a new code sample to show how to make requests in a Node.js environment. 

 

June 11th, 2019

GET /tweets and GET /users are now supported in Labs

The first two endpoints are now available via the Labs portal. Make sure you have an approved developer account and have applied for Labs access to get started with these endpoints.

Key differences from equivalent v1.1 functionality include:

  • Single endpoint for single object "show" function and batch "lookups"
  • Expansion parameters support the inclusion of additional objects as part of one request (e.g. mentioned users, referenced Tweets, etc.)
  • Format parameters support different data projections with more or less verbose payloads
  • Rate limiting is at the app level, regardless of auth method (user context or bearer token)

Learn more about this launch via our forum announcement.