Twitter

From breaking news and entertainment to sports and politics, get the full story with all the live commentary.

Go to site
Explore
/
Apps
/
Twitter

Twitter API Integrations

Build and run workflows using the Twitter API. Use 1000s of open source triggers and actions across 400+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.twitter.com/1.1/account/verify_credentials.json`,
}, {
  token: {
    key: auths.twitter.oauth_access_token,
    secret: auths.twitter.oauth_refresh_token,
  },
  oauthSignerUri: auths.twitter.oauth_signer_uri,
})

Choose an API to Connect with Twitter API

1
-
12
of
400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Discord Webhook
Discord Webhook
Use this app to send messages to a channel using Discord's incoming webhooks
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Airtable
Airtable
Looks like a spreadsheet, acts like a database.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
Google Drive
Google Drive
Internet-related services and products
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Twilio
Twilio
Cloud communications platform for building SMS, Voice & Messaging applications on an API built for global scale
Twitter
Twitter
From breaking news and entertainment to sports and politics, get the full story with all the live commentary.
Zoom
Zoom
Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars.
Zoom Admin
Zoom Admin
Video conferencing (includes account-level scopes)
Search Twitter
Standard search API.
Post Tweet
Post a tweet.
Get Followers
Returns a cursored collection of user IDs for every user following the specified user.
Follow A Follower
Follows a Twitter user who is already your follower. Fails if they are not a follower.
Follow User
Allows the authenticating user to follow (friend) the user specified in the ID parameter.

Public Twitter workflows

Twitter
Twitter Mentions -> Slack by @pravin
Listen for mentions and Twitter and post to Slack as formatted blocks.
Try it
Twitter
Translated Twitter Mentions -> Slack by @pravin
Listen for mentions on Twitter, translate them and post to Slack as formatted blocks.
Try it

Authentication

Twitter uses OAuth authentication. When you connect your Twitter account, Pipedream will open a popup window where you can sign into Twitter and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Twitter API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. requestToken
    POSThttps://api.twitter.com/oauth/request_token
  2. authorization
    GEThttps://api.twitter.com/oauth/authenticate?client_id={{oauth.client_id}}&state={{oauth.state}}&redirect_uri={{oauth.redirect_uri}}&response_type=code&scope={{oauth.space_separated_scopes}}&oauth_token={{oauth.token}}&force_login=true
  3. accessToken
    POSThttps://api.twitter.com/oauth/access_tokencontent-type: application/x-www-form-urlencoded
Using Event Sources and Workflows: Analyze Twitter Sentiment in Real-Time and Save to Google Sheets
Using Event Sources and Workflows: Analyze Twitter Sentiment in Real-Time and Save to Google Sheets
Learn how you can use Pipedream event sources and serverless workflows to listen for new Twitter mentions, analyze the sentiment of each Tweet using the npm sentiment package (https://www.npmjs.com/package/sentiment), and then save that data to Google Sheets in real-time.
Entering Data in Params Forms
Entering Data in Params Forms
Learn about the new model to enter expressions and reference previous step exports in params forms.
Managing the Concurrency and Execution Rate of Workflow Events
Managing the Concurrency and Execution Rate of Workflow Events
Managing the Concurrency and Execution Rate of Workflow Events.

Community Posts

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Google Sheets Twitter Bot with Pipedream
Building a Google Sheets Twitter Bot with Pipedream
This is something that's been kicking around my head for a week or so and today I thought I'd try it. It ended up taking about 20 minutes total and 10 lines of code, of which 5 are a function I copied and pasted. While what I built is kind of trivial, I'm blown away by how much was done by built-in functions with Pipedream and how little work I had to do myself. In fact, most of my time was spent in setting stuff up outside of Pipedream itself. Alright, so what did I build?
Building a Twitter Bot in Pipedream
Building a Twitter Bot in Pipedream
I did this by parsing information from the GI Joe wikipedia site and implementing it on Pipedream's platform. I'm going to share how I built it, but be aware that roughly 95% of the work was involved in getting my random character. The aspects that pertain to Pipedream were incredibly simple - which is what you want in a platform.
Using State in Pipedream Workflows
Using State in Pipedream Workflows
I did this by parsing information from the GI Joe wikipedia site and implementing it on Pipedream's platform. I'm going to share how I built it, but be aware that roughly 95% of the work was involved in getting my random character. The aspects that pertain to Pipedream were incredibly simple - which is what you want in a platform.
Building a Twitter Scheduling System with Pipedream and Google Sheets
Building a Twitter Scheduling System with Pipedream and Google Sheets
A few months ago, I blogged about how I used Pipedream and Google Sheets to create a Twitter bot. The idea was simple - read a sheet - select a random row - and use that as the source of a new Tweet. I was thinking about this recently and how useful Google Sheets can be as a "light weight CMS" and figured out another interesting use case - Twitter scheduling.