Twitter Developer App

Use a Twitter developer app you've created to send API requests

Integrate the Twitter Developer App API with the Node API

Setup the Twitter Developer App API trigger to run a workflow which integrates with the Node API. Pipedream's integration platform allows you to integrate Twitter Developer App and Node remarkably fast. Free for developers.

Run Node Code with Node API on New Tweet Metrics from Twitter Developer App API
Twitter Developer App + Node
 
Try it
Run Node Code with Node API on New Message from Twitter Developer App API
Twitter Developer App + Node
 
Try it
Run Node Code with Node API on New Message from Twitter Developer App API
Twitter Developer App + Node
 
Try it
Run Node Code with Node API on New Tweet Metrics from Twitter Developer App API
Twitter Developer App + Node
 
Try it
New Tweet Metrics from the Twitter Developer App API
 
Try it
New Message from the Twitter Developer App API

Emit an event each time the authenticated user receives a Direct Message

 
Try it
New Message from the Twitter Developer App API

Emit new event each time the authenticated user receives a Direct Message

 
Try it
New Tweet Metrics from the Twitter Developer App API

Emit new event on each new twitter metric

 
Try it
Send Direct Message (DM) with the Twitter Developer App API

Send a DM to a user.

 
Try it
Run Node Code with the Node API

Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.

 
Try it

Connect Twitter Developer App

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.exports = defineComponent({
  props: {
    twitter_developer_app: {
      type: "app",
      app: "twitter_developer_app",
    }
  },
  async run({steps, $}) {
    const Twit = require('twit')
    
    const { api_key, api_secret_key, access_token, access_token_secret } = this.twitter_developer_app.$auth
    
    const T = new Twit({
      consumer_key: api_key,
      consumer_secret: api_secret_key,
      access_token,
      access_token_secret,
      timeout_ms: 60 * 1000,  // optional HTTP request timeout to apply to all requests.
      strictSSL: true,  // optional - requires SSL certificates to be valid.
    })
    
    return await T.get('account/verify_credentials', { skip_status: true })
  },
})

Connect Node

1
2
3
4
5
6
7
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
  async run({ steps, $ }) {
    // Return data to use it in future steps
    return steps.trigger.event
  },
})

Community Posts

A demo of using the Twitter API, via Pipedream, to render the images from a Twitter account.
Automate checking a ticket system's availability with Node.js and Pipedream
Automate checking a ticket system's availability with Node.js and Pipedream
How I used Node.js and Pipedream to automatically scrape a ticket booking site and notify me if availability had changed.