Twitter Developer App

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

Integrate the Twitter Developer App API with the Formatting API

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

[Data] Convert JSON to String with Formatting API on New Tweet Metrics from Twitter Developer App API
Twitter Developer App + Formatting
 
Try it
[Data] Parse JSON with Formatting API on New Tweet Metrics from Twitter Developer App API
Twitter Developer App + Formatting
 
Try it
[Date/Time] Add/Subtract Time with Formatting API on New Tweet Metrics from Twitter Developer App API
Twitter Developer App + Formatting
 
Try it
[Date/Time] Compare Dates with Formatting API on New Tweet Metrics from Twitter Developer App API
Twitter Developer App + Formatting
 
Try it
[Date/Time] Format with Formatting API on New Tweet Metrics from Twitter Developer App API
Twitter Developer App + Formatting
 
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
[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
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 Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})

Community Posts

A demo of using the Twitter API, via Pipedream, to render the images from a Twitter account.