How to Create An Twitterbot with simpletwitter
Github Repository: [https://github.com/pravee42/simpletwitter](https://github.com/pravee42/simpletwitter)
```
from simpletwitter import SimpleTwitter
email = "Twitter_User_Email_Address"
password = "Twitter_Password"
user_name = "Abipravi1"
#here i have entered my twitter username but you need to enter your's in this case
no_of_tweets = 10 #this value is necessary how many no of tweets you want to perform operation
bot = SimpleTwitter(email, password, no_of_tweets, user_name)
#Creating Instance
hashtags = ['#abipravi', #pythonmodule', '#twitter_bot']
tweetmessage = "My first tweet by simple twitter"
bot.login() # to login into the account
bot.like_tweet(hashtags) # like the tweet
bot.unlike_liked_tweets(5) # unlike the liked tweet
bot.tweet(tweetmessage) # put some tweet
/r/Python
https://redd.it/r7mtzy
Github Repository: [https://github.com/pravee42/simpletwitter](https://github.com/pravee42/simpletwitter)
```
from simpletwitter import SimpleTwitter
email = "Twitter_User_Email_Address"
password = "Twitter_Password"
user_name = "Abipravi1"
#here i have entered my twitter username but you need to enter your's in this case
no_of_tweets = 10 #this value is necessary how many no of tweets you want to perform operation
bot = SimpleTwitter(email, password, no_of_tweets, user_name)
#Creating Instance
hashtags = ['#abipravi', #pythonmodule', '#twitter_bot']
tweetmessage = "My first tweet by simple twitter"
bot.login() # to login into the account
bot.like_tweet(hashtags) # like the tweet
bot.unlike_liked_tweets(5) # unlike the liked tweet
bot.tweet(tweetmessage) # put some tweet
/r/Python
https://redd.it/r7mtzy
GitHub
GitHub - pravee42/simpletwitter: Twitter bot module with few lines of code
Twitter bot module with few lines of code. Contribute to pravee42/simpletwitter development by creating an account on GitHub.