Skip to main content

Python package for making twitter bot with less code

Project description

This package can be used to make your own twitter bot with less code

import the package using pip install

pip install simpletwitter

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

usage:

from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
bot.like_tweet(hashtags) #like the twitte
bot.unlike_liked_tweets(5) #unlike the liked tweet
bot.tweet(tweetmessage) #put some tweet

Packages used

Tool Name Purpose
Selenium Chrome Automation
Feature Update 2 feature update added on 28/11/2021
Update 1 Added function to retweet
Update 2 Added feature to like the top tweets of the particular hash tags

Code Usage of Updates


Update 1
from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
hashtags = ["#reactjs", "abipravi"]
bot.only_like_top_tweet(hashtags)
Update 2
from simpletwitter import SimpleTwitter
bot = SimpleTwitter(email, password, no_of_tweets, username)
bot.login()
hashtags = ["#reactjs", "abipravi"]
bot.retweet(hashtags)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simpletwitter-1.2.6.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

simpletwitter-1.2.6-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page