TechNewsBot is a Python-based Twitter bot designed to automate tweets related to the latest technology news. The bot utilizes the News API to fetch real-time technology news articles and the Tweepy library to automate the tweeting process. This project aims to provide a convenient way to keep followers updated on the latest happenings in the tech world.
Automated Tweets: The bot automatically generates and tweets the latest technology news articles.
Customizable Schedule: You can configure the bot to tweet at specific intervals based on your preferences.
NewsAPI Integration: Utilizes the News API to fetch a diverse range of technology news from various sources.
git clone https://github.com/MaxAnii/Tweet_EveryDay.git
pip install -r requirements.txt
Obtain API keys for both the News API and Twitter API.
Create a .env
file in the project root and add your API keys:
API_KEY = your_twitter_api_key
API_KEY_SECRET = your_twitter_api_secret
ACCESS_TOKEN = your_twitter_access_token
ACCESS_TOKEN_SECRET = your_twitter_access_secret
NEWSAPI_KEY =your_news_api_key
TECH_KEY_WORDS = search query or key words
By Ansar with ❤️. Happy tweeting! 🐦✨