Posts

Writing a Twitter Reply Bot

Image
Hi, This will be an introduction to writing a Twitter Bot to reply to conversations for Beginners. I will be using  Python for coding the Bot. Twitter Bot are a common these days and are used for different purposes, one may use bot for his/her personal account to reply for the tweets  mentioning them  or one may use them to follow some user and retweet their tweets . Twitter provides  huge set of functionality through its APIs .You can nearly perform all the tasks that can be performed on the twitter site through these APIs. And good part is that they provide it for free. Getting API keys from twitter Create a Twitter app to get the credentials which can be done at  https://apps.twitter.com/  . On successful creation of an app select your app and you will be redirected to app page: You will be provided with following credentials  which can accessed through keys and access tokens tab: Consumer Key (API Key) Consumer Secret (API Secret) Access Token Acce