A bot to automatically post the Fortnite Item Shop to a Twitter / X. All assets belong to Epic Games.
(If you do not want to use the Twitter / X capabilities of the program, change "ToggleTweet" to "False" & "UpdateMode" to "False" in bot.py)
(WATCH A TUTORIAL ON HOW TO USE THIS BOT HERE!)
- Make sure you have Python installed on your computer.
- Install all the required modules used in this program, scroll below for the list.
- Sign up for the Twitter/X API program, and fill in your API keys within the "#=====#" comments in bot.py
- If you want, you can edit other variables within the "#=====#" comments in bot.py, like a Support-A-Creator code, printing item data in terminal, bot delay, etc
- Just run the bot.py file, and you'll be good to go!
- If you want to run the file once without tweeting, turn "updateMode" to "False". and turn "TweetShop" to "False".
- In the User authentication settings of your application on the Developer Portal, make sure to edit your settings to what I have below:
- Change your App permissions from "Read" to "Read and write and Direct message" (keep Request email from users off)
- Change Type of App from "Native App" to "Web App, Automated App or Bot"
- Under App info, change your "Callback URI / Redirect URL" to "https://localhost"
- Under App info, change your "Website URL" to "https://localhost.com"
- (Only works when the program is in updateMode)
- Toggle OGitemsbot to True
- The "OG/Rare" item threshold is set by opitemdate. Change the value to set your threshold for cosmetics.
- If you'd like to customize the Tweet text, head over to lines 401 and 403 and edit it to your liking.