Instructions and examples to help you get started.

Filtered by:

Creating a campaign

Learn how to use twurl to create your first campaign and line item with targeting criteria in the Sandbox environment.

Creating a Video Pre-roll Campaign

Create and view a Scheduled Tweet

Learn how to create and view a Scheduled Tweet using twurl.

Analyze past conversations

Search for topics or keywords and analyze the related conversation.

Explore a user’s Tweets

Retrieve and explore a user’s timeline of Tweets from the last 7 days.

Building an app to stream Tweets in real-time

Build a real-time Tweet streaming app to listen for and display Tweets based on your own topics of interest.

Using Search Tweets and Twilio to solve a problem

Learn how I used the Search Tweets API along with Twilio to build a text message alert whenever the @NYCASP account Tweets about alternate side of the street parking information.

Using Twurl

Learn how to use twurl to make requests to the Twitter Ads API

Stream Tweets in real-time

Surface and stream Tweets and conversations as they happen.

Measure Tweet performance

Build a simple tool to understand how users’ Tweets are performing in the world.

Consuming streaming data

Tips for consuming streaming data.

Filtering Tweets by location

Learn how to filter Tweets by location.

Choosing a historical API

Learn how to create moments of delight informed by customer context.

Uploading Media

Learn how to use twurl to upload media to an account

Usage monitoring and management

Programmatically monitor and manage your API usage.

Tweet geospatial metadata

Learn more about geo-spatial metadata provided in Tweets

What's possible with the enterprise APIs

Learn about the enterprise APIs available on Twitter.

A walkthrough of the enterprise APIs

Learn about the newest data API offerings.

Build a simple customer engagement application

Creating a Mobile App Promotion (MAP) campaign

Learn how to use twurl to create a Mobile App Promotion campaign.

Sending a response from the Twitter API to a spreadsheet in Google Sheets

Building high-quality filters for getting Twitter data

Uploading video and creating a draft Tweet

Learn how to use twurl to upload a video and use this to create a video app card and Draft Tweet

Getting started with the Account Activity API

Translating plain language to filtering queries

Promoting another user's Tweets

One-time Historical PowerTrack jobs

Learn more about the steps that you will go through when accessing our one-time Historical PowerTrack offering.

Building PowerTrack: Philosophy and design

Learn about the design and architecture of PowerTrack.

Ads API: Hierarchy and terminology

Review the basics of the Twitter Ads object hierarchy as well as the relationship between these objects.

Getting started with R and v2 of the Twitter API

Learn how to use R to make requests to a v2 user lookup endpoint.

Step-by-step guide to making your first request to the Twitter API v2

Learn how to get started with v2 by making a request to recent search.

Sending a response from the Twitter API to a spreadsheet in Google Sheets

How to build an autoresponder with Autohook and the Account Activity API

Getting historical Tweets using the full-archive search endpoint

Getting started with converting JSON objects to CSV

Search for topics, and then output the returned data into CSV format.

How to analyze the sentiment of your own Tweets

Learn how to analyze the sentiment of your Tweet timeline.

Listen for important events

Listen for events that matter to you so that you can trigger appropriate actions or notifications.