
Click on the Settings Icon next to it.Įdit the App Permissions section. Copy these values and keep them safe with you.Īfter creating the app, you will land on the Dashboard. You will land on the Keys and Tokens section which will display API Key, API Key Secret and Bearer Token. Click on it to start creating your first app.Įnter App name and click next. Once the project is created, you will find a *Create an app"*button. Click on Create a project and give it a name. On the Dashboard, we first need to create a project if we want to use API v2. Creating an App and Getting Security Tokens Once you are done with the process, you will have a Dashboard when approved. Fill out the application - It will ask you questions regarding the purpose of your app, verify your phone number and email if not already verified and answer a few questions about how you are going to use the developer account.Apply for developer access - Use the link to the application process.Whichever account you use will require you to have a verified email id and phone number attached to it.

You can either use your own account or create a new twitter account for your bot. Prerequisite - You need to have a twitter account. First of all, we are going to apply for a developer account. Once you have an idea about what you are going to build and what APIs you are going to use, its time to move onto building things. For example, the bot can search through its own tweets, un-retweet it, delete an old tweet, create favorites, etc.Ĭheck out the entire API reference for more details. We will use these 3 APIs but there are many other possibilities. POST /1.1/statuses/retweet/:id - retweets the tweet with the provided id from the Bot account.POST /1.1/statuses/update - accepts a status text and tweets it from the Bot account.GET /2/tweets/search/recent - Searches and returns a specified number of results only in recent tweets.V1.1 is the Standard API and v2 is a few additional methods on top of it.
#Creating a twitter rss bot for free
What we get for free and will use in this tutorial are Standard v1.1 and v2 It has different versions and tiers of APIs There are a number of things Twitter allows you to do programmatically from your bot account. Before getting started, lets have a look at the Twitter APIs.

Let's go through the whole process step by step. Finally decided to create my own and experiment with the Twitter APIs. While posting my progress each day, I got curious about the bots that like and retweet my posts. I got back into using Twitter 2 months ago when I started my 100DaysOfCode journey.
