In order to connect your Twitter account to Pipedream, you'll need to create a developer project and app.
- First, visit Twitter's developer dashboard and sign in
- Next, create a new project and give it a name, select a use case, and provide a description
- Provide a name for your app
- Note the API Key and API Key Secret that are displayed (the setup isn't done yet, but note these down)
- Click "App settings" at the bottom right of the screen
- In the bottom of your app's settings, in the "User Authentication Settings", choose "Set Up"
- Select the appropriate app permissions based on your use case
- Select "Web App, Automated App or Bot (Confidential client)" in the "Type of App" section
- Enter this URI in the "Callback URI / Redirect URI":
https://api.pipedream.com/connect/oauth/oa_gk6iBa/callback
- Enter a website URL
- Click "Done" (the Client ID and Client Secret that are shown on the next page are not required for this setup)
- Enter the API Key and API Key Secret when prompted in Pipedream (if you lose them and need to regenerate new keys, you can do so from the "Keys and tokens" tab in your app's settings in Twitter's developer dashboard, in the "Consumer Keys" section)
Below are some of the most common issues we see.
If you run into an error during the app connection process, make sure to doublecheck the below configurations:
- Ensure that you've entered the correct
developer_consumer_key
anddeveloper_consumer_secret
in Pipedream. These map to Twitter's "API Key" and "API Key Secret" in the "Keys & Tokens" section in their dashboard. - Make sure the "Callback URI / Redirect URL" that you configure within the "User Authentication settings" for your app in Twitter's developer console exactly matches:
https://api.pipedream.com/connect/oauth/oa_gk6iBa/callback
- Free Twitter developer accounts only have access to write endpoints (for example, actions like "Create Tweet" and "Create Retweet")
- Twitter developer accounts on their Basic plan have access to write and read endpoints (for example, actions like "Create Tweet" and "Search Tweets", as well as sources like "New Post Matching Query")
- If you are getting errors from the Twitter sources or actions, please consult the developer plan to confirm if you have access to those endpoints.