Skip to content

Instructions for Farming Raids

Steve Tu edited this page Jul 21, 2021 · 10 revisions

Last updated July 21, 2021

Instructions for the Raid component of this application (optional, only if you want to farm Raids)

In order to get a Twitter Developer account, you need a Twitter account. Recommended to use the one bound to your GBF account just to keep it all in one place.

  1. Head to https://developer.twitter.com/en/apply-for-access and click "Apply for a developer account".
  2. Select "Hobbyist" and then "Exploring the API" and click "Get Started".
  3. If you have not already, add a valid phone number to your account. Now fill out the form and select "Some Experience" for your coding experience and then click "Next".
  4. In the first textbox, state your intention on exploring the Twitter API for educational purposes and using what you learned to develop a Python application. You can either craft your own response based on mine below or copy it outright:

I want to develop a Python application for a mobile Japanese game called Granblue Fantasy that uses tweepy and I want to explore what the Twitter Standard API 1.1 has to offer for me. I plan to use what I learn and apply it to the application so that it can search tweets made by users from the game in the past 24 hours based on user-created queries and parse specific text in the tweets. This is for educational purposes only.

  1. Check Yes for "Are you planning to analyze Twitter data?" and either craft your own response based on mine below or copy it outright:

The application will allow the users to look up tweets made in the past 24 hours while searching for tweets that have specific text or keywords in the tweets. It will then return and display those tweets onto the application's GUI.

  1. Uncheck the rest of the options and then click "Next".
  2. Accept the "Developer agreement & policy" and click "Submit Application".
  3. Once you verify the email sent to you, either two things will happen:
    • You get accepted immediately and can get started on Step 9.
    • You have to wait for Twitter to approve your application.
  4. Once you get accepted, head over to https://developer.twitter.com/en/portal/dashboard and click on "Projects & Apps" on the left sidebar and click on "+ Create App".
  5. Give a name to your app. For example, mine is called GBF Battle ID Finder and click "Complete".
  6. Now click on "App Settings" at the bottom. Then click on "Keys and tokens" at the top.
  7. Click "Regenerate" for Consumer Keys and copy the API key and the API key secret into their respective places in config.ini in the root of the project folder. After that, click "Yes, I saved them".
  8. Now click "Generate" for "Access token & secret". Again, copy these 2 tokens into their respective places in config.ini and after that, click "Yes, I saved them".
  9. After that, the bot is now ready to access the Twitter API to look for raids.

Instructions for Android version of Granblue Automation

Literally the same steps as above. config.ini is config.yaml for the Android version and the fields to place the API keys and tokens are also similar in naming.