Skip to content

Instructions for Farming Raids

Steve Tu edited this page Nov 2, 2022 · 10 revisions

Last updated November 01, 2022

V1.1 for manual not real-time searching of room codes but unlimited usage. V2 for real-time streaming of room codes but limited usage.

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.

  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 (highly recommended to avoid future complications) 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 (highly recommended to avoid future complications) 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/products and apply for Elevated if you do not already have it. This is for the purposes of giving you a higher Usage Cap when using API V2. If using API v1.1, there is no cap.
  5. Now head over to https://developer.twitter.com/en/portal/projects-and-apps. Now create a App in either one category or both:
  • If you want to use API V2 for real-time streaming of the raid codes: Create a Project under the Elevated section. Choose Development as the App Environment and save the Bearer Token into Granblue Automation. The field to do that will appear when you enable the checkbox to use API V2 in the Extra Settings page.
    • This comes with the con of having a 2 million usage cap. Each tweet found from the real-time streaming counts as 1.
  • If you want to use API V1.1 for unlimited usage but not real-time searching of the raid codes: Create the app under the Standalone Apps section and save the API Key and Secret and Access Token and Secret into Granblue Automation. The fields to do that will appear when you disable the checkbox to use API V2 in the Extra Settings page.
    • V1.1 is being deprecated by Twitter so if it stops working, we all may need to migrate to V2.
  1. You should be good to go for raid farming.

Instructions for Android version of Granblue Automation

Literally the same steps as above but the settings.json is located in your internal storage's Android/data/com.steve1316.granblue_automation_android/files/ folder after booting up the application for the first time. The fields to place the API keys and tokens are also the same in naming.