Twitter Developer App

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

Integrate the Twitter Developer App API with the Telegram Bot API

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

Send Direct Message (DM) with Twitter Developer App API on Channel Updates (Instant) from Telegram Bot API
Telegram Bot + Twitter Developer App
 
Try it
Send Direct Message (DM) with Twitter Developer App API on Message Updates (Instant) from Telegram Bot API
Telegram Bot + Twitter Developer App
 
Try it
Send Direct Message (DM) with Twitter Developer App API on New Bot Command Received (Instant) from Telegram Bot API
Telegram Bot + Twitter Developer App
 
Try it
Send Direct Message (DM) with Twitter Developer App API on New Updates (Instant) from Telegram Bot API
Telegram Bot + Twitter Developer App
 
Try it
Create Chat Invite Link with Telegram Bot API on New Tweet Metrics from Twitter Developer App API
Twitter Developer App + Telegram Bot
 
Try it
New Tweet Metrics from the Twitter Developer App API
 
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 Message from the Twitter Developer App API

Emit an 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
New Bot Command Received (Instant) from the Telegram Bot API

Emit new event each time a Telegram Bot command is received.

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

Send a DM to a user.

 
Try it
Create Chat Invite Link with the Telegram Bot API

Create an additional invite link for a chat, See the docs for more information

 
Try it
Delete a Message with the Telegram Bot API

Deletes a message. See the docs for more information

 
Try it
Edit a Media Message with the Telegram Bot API

Edits photo or video messages. See the docs for more information

 
Try it
Edit a Text Message with the Telegram Bot API

Edits text or game messages. See the docs for more information

 
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 })
  },
})

Overview of Telegram Bot

With the Telegram Bot API, you can build bots that perform a variety of tasks,
including:

  • Sending and receiving messages
  • Social networking
  • Content management
  • File sharing
  • Location sharing
  • Bot administration
  • And more!

Connect Telegram Bot

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    telegram_bot_api: {
      type: "app",
      app: "telegram_bot_api",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.telegram.org/bot${this.telegram_bot_api.$auth.token}/getMe`,
    })
  },
})

Community Posts

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