Skip to content

Latest commit

 

History

History
172 lines (94 loc) · 8.19 KB

Reddit-Client-ID-Guide.md

File metadata and controls

172 lines (94 loc) · 8.19 KB

Guide to patch Reddit clients

Info

  • For this process, you will need an Android device running Android 8 or newer

  • The last significant update to this guide was on July 27th, 2024

  • This guide is not for patching the regular Reddit app. It is only for patching 3rd party Reddit clients (Sync, Infinity, RIF, etc.)

  • If needed, you can ask for assistance in the ReVanced Discord, Subreddit, or Telegram. There is also troubleshooting info at the end of this guide

Client ID Setup

1. Go to this page (and sign in to the Reddit account you want to use).

2. Select are you a developer? Create an app.

are-you-a-developer-create-an-app

3. Enter an app name (it doesn't matter what you call it).

4. Set the type to "installed app".

Warning

Don't add a description or about url.

5. Set the redirect uri according to this table:

App Redirect URI
Sync http://redditsync/auth
Infinity infinity://localhost
RIF redditisfun://auth
Boost http://rubenmayayo.com
Relay dbrady://relay
Slide http://www.ccrama.me
BaconReader http://baconreader.com/auth
Joey https://127.0.0.1:65023/authorize_callback

6. Press create app.

create-application

7. Copy the client ID, which is directly under the app name. Save it in your clipboard. You'll need it soon.

copy-client-id

Tip

If you want to be able to sign in to the patched app with Reddit accounts aside from the one tied to the client ID, you must add the accounts as developers to the application you just made.

To add a developer, edit the application and enter the account username in the add developer: field. Press Enter on your keyboard and then press the update app button.

Patching

1. Uninstall the official version of the app you will patch.

Example: If you have Sync installed and are about to patch Sync, uninstall the Sync app.

Tip

Remember to export your settings configuration before uninstalling (if your Reddit client has the option).

2. Install (or update to) the latest version of the ReVanced Manager.

3. Download (but do not install) an APK of the app you want to patch using the link:

Warning

Do not install the APK after you download it.

4. Launch the ReVanced Manager > Patcher > Select an application.

5. Press the Storage button and then select the APK file that you downloaded.

storage-button

6. Tap on the Selected patches card.

selected-patches

7. Press the Default button and then press the ⚙️ icon by the "Spoof client" patch.

default-patches

8. Enter the client ID that you copied earlier and then press Save. Make sure there are no extra spaces.

client-id-patch-option

9. Press Done and then Patch, and then wait for it to finish.

10. After patching is complete, press the Install button.

Important

If you get a popup from Google Play Protect while installing, press More details and then press Install anyway.

install-anyway

Tip

If you want to save or share the patched APK file, you can export it by using the save button in the bottom left corner (opposite the Install button).

Done!

Troubleshooting

1. "Please match the requested format." error when signing in

credentials-format-error

If you get the error pictured above, enter your username and password manually instead of pasting or auto-entering them.

2. Errors when signing in

Sign-in errors usually mean that something is wrong with your client ID configuration. Below are some common mistakes.

Note

If you are certain that none of the issues below apply to you, create a new client ID and try again from scratch, or ask for assistance in the ReVanced Discord, Subreddit, or Telegram.

a) The redirect uri is not EXACTLY the same as in the table above. Correct the issue here.

Tip

Check if in the redirect uri you put https instead of http (or vice versa), a capital letter, an extra /, etc.

b) The app type is not set to installed app. Correct the issue here.

c) You accidentally added an extra space when entering the client ID in the ReVanced Manager. You must repatch, but you don't need to set up a new client ID.

d) The redirect uri is set for the wrong app. Correct the issue here.

Example: It is set to http://redditsync/auth even though the client ID will be used for an app other than Sync.