How to create a channel on twitter

To create a bot on Twitter, you first need to request access to Twitter's API's for direct messages. The registration process is short and you will need to explain the purpose of your bot and the functionality you will provide.

Note that you can sign up at any level, a Sandbox account (Dev environments) is enough if you plan to make your bot work with a single account.

After you receive approval from your developer account, Twitter will send you a welcome email. You can now build your app and connect it.

Etapas

  1. Your first step is to create your app. You will be prompted for the application name, description, and URL. Fill them in according to the functionality of the bot you are building.
  2. Next, you will need to create a development environment for your application to run. You will want to create an environment for the "Account Activity API / Sandbox". You can name it however you want, we recommend "production", be sure to select the application you created in the step

  • This name should be used when connecting the account on the Weni Platform.

  1. Now you need to create the keys and tokens for your application, which you need when creating your channel. Go back to your app and select the Keys and Tokens tab. Click Regenerate for the Consumer API Keys and Access token & access token secret sections. Keys and tokens must be generated with the "Read, write, and direct messages" permissions.

Make sure your account is enabled to receive direct messages from anyone. You can do this in Twitter's security/privacy settings.
Connecting with Weni Plataform

Fill in the page with the previously collected data, be sure to place the "Environment Name" the same way it was set up in step 2. When you're done filling in click Send and your channel will be connected.

Your channel is now connected, you can test sending and receiving direct messages.

How did we do?

General API concepts and Integrations

How to create a channel on Instagram

Contact