Installation

This package can be used to create your own Twitter bot with minimal code.

pip install simpletwitter

PyPi Link: https://pypi.org/project/simpletwitter/

Google Groups Link: https://groups.google.com/g/simpletwitter

Discussions Link: https://github.com/orgs/simpletwitter/discussions

Usage

from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
bot.like_tweet(hashtags)
bot.unlike_liked_tweets(5)
bot.tweet(tweetmessage)

Users Currently Using as of October 2023:

Total Downloads Monthly Downloads Weekly Downloads
22,185 635 143

Users Graph

Users Graph

Packages Used

Tool Name Purpose
Selenium Chrome Automation

Feature Updates

Update Description
Update 1 Added function to retweet
Update 2 Added feature to like the top tweets of the particular hashtags
Update 3 Added Tech News feature to post news on a Twitter account
Update 4 Can post LinkedIn content into a tweet using AI summarizer tool from Hugging Face.io

Code Usage of Updates

Date of Update Feature Update Usage Code
2023-10-03 Added function to retweet
from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
hashtags = ["#reactjs", "abipravi"]
bot.only_like_top_tweet(hashtags)
2023-10-03 Added feature to like the top tweets of the particular hashtags
from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
hashtags = ["#reactjs", "abipravi"]
bot.retweet(hashtags)
2023-10-03 Added Tech News feature to post news on a Twitter account
from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
no_of_news_to_be_posted = 1
x = bot.post_tech_news(no_of_news_to_be_posted)
2023-10-03 Can post LinkedIn content into a tweet using AI summarizer tool from Hugging Face.io
from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
bot.postLinkedIn(Url)

Features

Issues from GitHub

Title Creator Created Date Labels Creator Profile Assignees Comments Status