-
Notifications
You must be signed in to change notification settings - Fork 36
Instructions for Farming Raids
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.
In order to get a Twitter Developer account, you need a Twitter account.
- Head to https://developer.twitter.com/en/apply-for-access and click "Apply for a developer account".
- Select "Hobbyist" and then "Exploring the API" and click "Get Started".
- 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".
- 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.
- 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.
- Uncheck the rest of the options and then click "Next".
- Accept the "Developer agreement & policy" and click "Submit Application".
- 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.
- 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 higherUsage Cap
when using API V2. If using API v1.1, there is no cap. - 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. ChooseDevelopment
as the App Environment and save theBearer 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 theAPI Key and Secret
andAccess 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.
- You should be good to go for raid farming.
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.