Twitter Developer Documentation

The Twitter Platform connects your website or application with the worldwide conversation happening on Twitter.

Twitter for Websites

Twitter for Websites is a suite of embeddable widgets, buttons, and client-side scripting tools to integrate Twitter and display Tweets on your website or JavaScript application. Engage your visitors with a single Tweet, multiple Tweets, a Twitter Moment, Tweet buttons, follow buttons, and more.

Twitter Kit

Twitter Kit is our SDK for iOS and Android with tools for displaying Tweets and timelines, adding Tweeting to your app, log in with Twitter, and working with the Twitter API. Build more engaging apps with live, relevant content from Twitter.


Twitter Cards display additional content alongside a Tweet for supported links. Highlight a photo, video, or other page summary when your links are shared on Twitter to drive additional traffic to your website, iOS, or Android app.


Use our OAuth endpoints to connect users to Twitter and send secure, authorized requests to the Twitter API.


The REST APIs provides programmatic access to read and write Twitter data. Author a new Tweet, read author profile and follower data, and more. The REST API identifies Twitter applications and users using OAuth; responses are available in JSON.

Streaming APIs

The Streaming APIs continuously deliver new responses to REST API queries over a long-lived HTTP connection. Receive updates on the latest Tweets matching a search query, stay in sync with user profile updates, and more. If your application is rate-limited for over-polling the REST APIs the Streaming APIs may be a good solution for your needs.


The Ads API gives partners a way to integrate Twitter advertising management in their product. Selected partners have the ability create their own tools to manage Twitter Ad campaigns while easily integrating into existing, cross-channel advertising management solutions.


Gnip is Twitter’s enterprise API platform that provides commercial-grade access to the real-time and historical Twitter data you need to power your business.


MoPub is the world’s largest mobile ad exchange and ad server. Make more ad revenue and control your ad experience with first class ad serving, ad network mediation, and plug in to thousands of advertising sources with the world’s largest mobile ad exchange.