ReVanced updated it's stable release patches. Now you can patch Infinity again to use with your own api key. https://github.com/revanced/revanced-patches/releases/tag/v2.181.0
THE GUIDE MADE BELOW IS AN OUTDATED METHOD, PLEASE REFER TO DOCUMENT LINKED IN POST
With ReVanced, you can now patch your third party Reddit app using the change-oauth-client-id patch.
To use this patch, you must get a client ID here.
The application type has to be set to "Installed app"
Depending on your third party Reddit app, the redirect URI has to be set to one of the following:
BaconReader:
http://baconreader.com/authBoost for Reddit:
http://rubenmayayo.comInfinity for Reddit:
infinity://localhostJoey:
https://127.0.0.1:65023/authorize_callbackRelay for Reddit:
dbrady://relayRedditIsFun:
redditisfun://authSlide for Reddit:
http://www.ccrama.meSync for Reddit:
http://redditsync/auth
Yes the Pro/Premium, Developer variants work too.
Once you create the OAuth application, create the file reddit_client_id_revanced.txt under directory /storage/emulated/0/ (aka Internal Storage) with the client ID as its content, which should look something like: nIH87_KcQoL-1HO5gBpRFA. Alternatively, you can provide the client ID using patch options.
Go to document now for further instruction
Troubleshooting:
In case the patching of the app does not work as expected, make sure that the redirect URI matches exactly one of the above.
In case the install of the patched app fails, make sure you have the APK of the stock app you've patched first before installing the patched application. Make sure to uninstall the stock app before you install the patched one. You can export the APK by pressing the 3 dots in top right corner after the app is finished being patched.
Sometimes, force stopping and clearing the cache of ReVanced Manager will fix other errors that you might have experienced. As well as disabling and re-enabling the storage permission for the Manager.
Some errors are caused by certain releases of the 3rd party app you're trying to patch, if this is the case I recommend you consult the guide by Kobe below where he gives links to where you can safely get a working APK that can be patched. Despite this, please remember it's of your own volition to install applications from places other than the major trusted sources like the Play Store, APKMirror or F-Droid.
UP TO DATE METHOD:
Step by Step guide with pictures by kobew50: https://github.com/KobeW50/ReVanced-Documentation/blob/main/Reddit-Client-ID-Guide.md
Reddit has imposed paid API limits and that compelled developers to shutodwn their clients. But There is a way you can Keep using your favourite reddit Client.
Obtaining Client ID
Step 1: Navigate to this page: https://www.reddit.com/prefs/apps
Step 2: Click create an App -> Select installed app -> Fill out the name (Anything except Reddit) -> Description and about url can be left empty -> redirect uri (Check below and enter carefully)
Sync/ Sync Pro: http://redditsync/auth
Boost: http://rubenmayayo.com
Infinity for Reddit: infinity://localhost
Bacon Reader: http://baconreader.com/auth
Reddit is Fun: redditisfun://auth
Relay: dbrady://relay
Step 3: Copy and store your ID securely.
The Client ID is located like this: ClientName -> installed app -> Client ID
🎉🎊 Congrats you are done with ontaining the Client ID 🎉🎊
Patching the app
Option 1: Using ReVanced Manager (https://github.com/revanced/revanced-manager)
Step 1: Create a new file with the name reddit_client_id_revanced.txt in Internal Storage( /storage/emulated/0/ or /sdcard/ ) of your device.
Step 2: Paste the client id without any text or spaces in the file.
Step 3: Open Revanced Manager, select App and include change-oauth-client-id patch.
Step 4: Patch the app.
Option 2: Using Revancify (https://github.com/decipher3114/Revancify)
Step 1: Open Termux and run Revancify. (For this Particular use-case, You must run revancify as non-root by this command revancify -n or revancify --non-root)
Step 2: Go to Change Source and navigate to Revanced, press the <Spacebar> to select and press <Enter>.
Troubleshooting: If you can't see the change-oauth-client-id patch in options editor, Do this Go to Update Resources and let Revancify update all the resources. Go to Delete Components. Select Patch Options and press Enter. Select Resources and press Enter.
Step 4: Go to Patch Options. Let it generate the latest options.json file.
Step 5: Select change-oauth-client-id. Clear null and Paste the new client ID. Go back to Main Menu.
Step 6: Now, Go to Select Patches. Choose the desired app (Sync or Boost) and press Enter. Navigate to change-oauth-client-id and include it by pressing space bar.
Step 7: Now, Save and Go back to Main Menu. Go to Patch App and select the same app. Choose the version.
Step 8: Let Revancify download and patch the app for you.
🎉🎉 Congrats your done 🎉🎉
I suggest using Revancify for it because I only had success with Revancify and you can patch multiple third party reddit apps with it you just need to change the Oauth key in the Patch Options section before patching the next one
Create an api key with an alt acc or create an api key with your main acc but use it with an alt acc. This is to avoid getting banned for it.
Patch your favorite third-party Reddit app using ReVanced
Use the Spoof client patch for your third-party Reddit client, using ReVanced Manager following the ReVanced Manager documentation.
Create an OAuth application here with the application type and exact redirecting URI that is mentioned in the description of the client ID option of the patch.
Finally, set the client ID in the patch option of the Spoof client patch and proceed with patching your your third-party Reddit client.
Troubleshooting
-
If the patched app does not work as expected, please ensure that the redirect URI matches the one mentioned in the
Spoof clientpatch description. -
If the patched app crashes, your APK file may be broken. Verify it installs and runs correctly without patching it. If it does not, you must source a working APK file from a different place.
You can now use Sync for Reddit after July 1 using the Spoof client patch with ReVanced!
Follow the instructions in this post.
Troubleshooting:
If your patched app crashes, your APK file may be broken. Check if it does not crash when you don't patch it. If your APK file turns out to be broken, you need to source a working APK from somewhere else.
Here's a step-by-step guide to patching third-party Reddit apps with ReVanced to get around Reddit's API changes: Prerequisites:
ReVanced Manager: Download and install the latest version of ReVanced Manager from their official website or a trusted source.
APK of your Reddit app: Download the APK file of the Reddit app you want to patch from a reliable source like APKMirror. It's generally recommended to use a version that's one or two releases behind the latest one, as very recent versions might not be compatible with ReVanced yet.
Steps:
Create a Reddit App:
Go to this website: https://www.reddit.com/prefs/apps/
Log in to your Reddit account.
Click on "are you a developer? create an app..."
Give your app a name (it can be anything).
Select "installed app" as the type.
Crucial Step: In the "redirect uri" field, enter the correct redirect URL for your chosen Reddit app. I provided a list in my previous response. Make sure it's accurate!
Click "create app."
Copy the "client ID" that's generated—you'll need it later.
Patch the App with ReVanced Manager:
Open ReVanced Manager.
Tap "Patcher," then "Select an application."
Tap the storage icon and select the APK file you downloaded.
Tap "Next" and wait for the app to be processed.
On the "Select Patches" screen, choose "Default."
Tap "Next" and select "Spoof client."
Crucial Step: In the "Client ID" field, paste the client ID you copied earlier.
Tap "Patch" and wait for the process to complete.
Install the Patched APK:
Once patching is finished, install the patched APK. You might need to allow installation from unknown sources in your Android settings.
If you have the original version of the app installed, uninstall it first.
Log in and Enjoy:
Open the patched Reddit app and log in. You should be able to use it without any issues!
Important Notes:
Redirect URI is Key: The redirect URI needs to be an exact match. Double-check for typos!
App Updates: If your app updates automatically, you might need to repeat this process with the newer APK. You can usually disable automatic updates in the app's settings.
Troubleshooting: If you encounter problems, try these:
Clear the cache and data for ReVanced Manager.
Use a slightly older version of the Reddit app APK.
Check the ReVanced subreddit or Discord for
IHere's a list of common redirect URLs for popular Reddit clients, along with some important notes: Important Notes:
Case Sensitivity: These URLs are case-sensitive, so make sure you enter them exactly as shown.
"http" or "https": Reddit now requires redirect URLs to start with http:// or https://. Some older guides may list different formats, but those are likely outdated.
App-Specific Instructions: Always check for any specific instructions or updated URLs provided by your chosen Reddit client. Redirect URLs:
BaconReader: http://baconreader.com/auth
Boost for Reddit: http://rubenmayayo.com
Infinity for Reddit: https://infinity-for-reddit.com/
Joey for Reddit: https://127.0.0.1:65023/authorize_callback
Relay for Reddit: dbrady://relay
Reddit is Fun: redditisfun://auth
Slide for Reddit: http://www.ccrama.me
Sync for Reddit: http://redditsync/auth
Troubleshooting:
Invalid Redirect URI Error: If you encounter this error, double-check the URL for typos and case sensitivity. Also, make sure you're using the most up-to-date URL from your app's documentation.
ReVanced Issues: If you're using ReVanced, ensure you have the latest version and follow their specific instructions for patching your Reddit app and setting up the client ID.
⚠️ This guide may only work for Infinity for Reddit+. For Boost, use u/wchill*'s guide:* https://www.reddit.com/r/BoostForReddit/comments/1pjl5en/comment/nte9t5e/
Part 1:
Install the original, non-modified version of Infinity. Using Infinity for this part is required. You can pick your desired client on Part 2.
Click the hamburger (three line) icon, click "Press here to login", then click "Add an account".
Login to your account and allow the client to access your account. (If it prompts you to buy a subscription after clicking "Accept", just close the app)
You should now receive an email after allowing the client. Copy the "App ID" string from the email.
Uninstall Infinity.
Part 2: Patch configurations
Open the ReVanced app.
Tap "Patcher", then "Select an application".
Tap the "Storage" button and select your desired client's (doesn't have to be Infinity) APK file.
Tap "Selected patches" and make sure the two patches are checked.
Click the settings button beside the "Spoof client" patch.
Replace "null" with your "App ID" key. The App ID in the email is *universal*, meaning you can use it for any client, not just Infinity. (yes, "App ID" = "Client ID)
Click "Save", then click "Done".
Part 3: Patch, Install, and Login
Click "Patch".
Wait for it to patch. (around 15-20 seconds)
When it finishes, click "Install".
Open the patched app and login. (If login throws an error, try using Proton VPN and use a European country)
Done!
Pls can someone one explain me. Thank you
I did the instructions as this guide said https://www.reddit.com/r/redditsync/comments/14lkhnz/this_revanced_patch_makes_sync_work_after_api/
But it didn't load It appears error loading page:401 I did do the txt file and put it directly in internal storage path
Any ideas?
Update : It was text app program I used simple text editor And solved
Thx all
⚠️ SYNC PRO DOESN'T WORK. ONLY PATCH THE REGULAR ONE.
Thanks to u/KobeW50 For the tutorial.
here is the tutorial they made
✨ My nonsense that I call a Guide:
Go to https://www.reddit.com/prefs/apps
Click on "Are you a developer? create an app..."
Give it any name.
Set it as "installed app."
IMPORTANT: Set " redirect uri " to the redirect URI of your client
(see table below)(For "Sync for Reddit" it's http://redditsync/auth)
create the app.
TAKE NOTE OF THE CLIENT SECRET (the gibberish text and numbers below the Name)
Go to any Text editor (I use an app called "just notes")
Copy + paste the client secret. (And nothing else.)
Save the file and call it " reddit_client_id_revanced.txt "
MAKE SURE TO NOT SAVE IT ON ANY Folder, JUST THE INTERNAL STORAGE/ROOT
Download but do not install the .apk of your reddit client.
(See list below)(This is the apk for "Sync for Reddit")
Install & open Revanced Manager
Make sure all permissions are enabled (Especially " All files access ")
Go to the "settings" tab.
Enable "experimental patches support."
Restart revanced manager
Go to the "Patcher" tab.
Click on " Select an application. "
Then CLICK ON "Storage" and select the .apk we downloaded.
Click on "select a patch."
Select "Spoof Client" (and optionally "disable ads" on "Sync for Reddit")
click on done.
Then finally click on "patch."
Now wait for it to patch and install the patched apk!
If it asks you to update, DON'T. (just a warning)
💻 Click this to patch on pc!
🟥 Redirect Uri for other Reddit clients:
| App | Redirect Uri |
|---|---|
| Sync for Reddit | http://redditsync/auth |
| Infinity for Reddit | infinity://localhost |
| Relay/Relay Pro | dbrady://relay |
| Bacon reader | http://baconreader.com/auth |
| Boost for Reddit | http://rubenmayayo.com |
| Reddit is fun/Reddit is fun Pro | redditisfun://auth |
| Slide for Reddit | http://www.ccrama.me |
| Joey for Reddit | https://127.0.0.1:65023/authorize_callback |
📱 Reddit client apks:
Sync for Reddit
Infinity for Reddit
Relay
BaconReader
Boost for Reddit
Reddit is fun
Slide for Reddit
Joey for Reddit
💑 Adding multiple users:
Go to https://www.reddit.com/prefs/apps
Click on "edit" to your app
On the developers section, type the username of the person you want to add!
Save it, and your done!
⁉️ Troubleshooting:
1. Error 400
this happens when patching with root, remember to sign out of your reddit account and sign in again.
2. Error 401:
heard that using revancify instead of Revanced will fix this.
3. Conflict with existing package
that means you have the original reddit client (unpatched version) installed, uninstall it and install the patched version.
4. There was an error trying to connect with your reddit account You got here because a third-party application wanted to authorize connecting with your reddit account. However an unknown error occurred, please see details below. Please try refreshing the page or coming back later. Error: Error fetching oauth client:
The redirect uri is not EXACTLY as shown.
The app type is not set to “Installed app”
The .txt file is missing a character. It should be 22 characters. (Don't worry about extra spaces or line breaks.)
The redirect uri is set for a different application. (Example: it is set to “http://redditsync/auth” even though the client ID will be used for an app other than Sync.)
5. Failed to apply spoof-client: /storage/emulated/0 reddit_client_id revanced.txt: open failed: EACCES (Permission denied)
Revanced doesn't have permission to open the .txt, enable "All File access"
6. Failed to apply disable-ads: 'disable- ads' depends on 'DisablePiracyDetectionPatch' but the following error was raised: Failed to resolve Piracy DetectionFingerprint
The "disable ads" patch does not work on the newest version of sync, instead use the second newest version.
‼️ "Sync for Reddit" Specific troubleshooting:
1. YouTube videos on sync not working:
disable sync handling YouTube videos. Settings shortcut: Link handling > YouTube videos
2. Annoying update popup
disable sync from showing you update popup. Settings shortcut: General > Show a reminder to update when available
See here:
-
Original link: r/revancedapp/comments/147breu/use_sync_for_reddit_after_june_12_with_the_latest/
-
Archive link: https://archive.is/K6OXB
The idea of using one's own Reddit API key to authenticate a preexisting third-party Reddit app had already been brought up by several people before (including yours truly), but this is the first working example.
Expect more third-party Reddit apps to receive the same treatment, from ReVanced Team and/or others.
Edit: Here's a better google doc (not by me) to illustrate how to do all these steps!
I just did a patch using Revanced and it worked. Here's my instruction:
My fellow RIF enjoyer - RIF can still be patched to work again by using revanced.app. The instruction can be a bit of a hassle but it's very doable. After half an hour I was able to figure out how to get it working and now can use RIF again. There are some tricky issues you might run into, I'll add them as a footer.
Here's what I did:
Install the revanced app from revanced.app (You'll need to allow unknown app install on your Android setting first. If you're not sure how - look it up, this is very general. You'll also need to allow the app to have file access as well as install unknown app, this is very important.
Go to https://www.reddit.com/prefs/apps and create an app. Select "Installed App" and use "redditisfun://auth" (no quotes) in the redirect uri box. Everything else you can just put whatever. Save. If you need help with this step google "creating a reddit bot" and it should have similar steps to guide you enough.
Copy the client ID from your new app and create a file called "reddit_client_id_revanced.txt" (no quotes )under your Android file system location "storage/emulated/0" (or it might just say Internal, depending on your file manager). You should see a bunch of folders there, e.g. "Downloads", "DCIM", "Notifications", "Android", etc. If you see these folders, that mean you are in the correct base folder.
Open that new text file and put your newly created client ID in as its only content. Reminder: client ID is case sensitive.
Open Revanced app, go to Patcher, Select RIF app, Select "Change Oauth Client ID" patch. Click PATCH.
**This step might vary, see Troubleshooting note below** The app will run its thing and then prompt you to install. Here's tricky part #1 - you might get a "package conflict" like I did, so instead, don't click Install yet. Switch out of Revanced app (don't swipe it away though, keep it open), UNINSTALL RIF is fun. Revanced have already repackaged your RIF in memory. Once RIF is uninstalled, switch back to Revanced, hopefully you're still on the "install" button. Click Install, follow the prompts to allow Revanced to install the patched RIF.
After that, you're done! You'll need to log back in and have lost your settings, but it's all worth it to use RIF again!
Troubleshooting:
If at any point your first time patching the app didn't work - you HAVE to CLOSE Revanced app entirely (that is, swiping it away from your recent used apps). It's a known bug apparently and it won't patch the app again during the same session.
For #6, you might not run into the same issue as I did with a "package conflict" and might get away with just updating your RIF altogether. If you feel comfortable, you can try just updating your RIF without uninstalling it. If it failed however, remember Troubleshooting Tip #1, back out of Revanced entirely and try again.
If this helps you, no need to upvote and especially PLEASE NO AWARDS because FUCK REDDIT! Just forward it along to those who might be interested and pay it forward.
Similarly, I believe the same steps work for Sync for Reddit and whichever apps Revanced have patched.
See here:
Original link: r/revancedapp/comments/147breu/use_sync_for_reddit_after_june_12_with_the_latest/
Archive link: https://archive.is/K6OXB
The idea of using one's own Reddit API key to authenticate a preexisting third-party Reddit app had already been brought up by several people before (including yours truly), but this is the first working example.
Expect more third-party Reddit apps to receive the same treatment, from ReVanced Team and/or others.
These are the apps that I've noticed they've added support for so far. (Edit: Baconreader too.)
For those unfamiliar, you can patch these existing apps with your own oauth-client-id to continue using them.
Quick tutorial:
-
Navigate to https://www.reddit.com/prefs/apps
-
Create a new app, name it whatever you want, tick "Installed App" and fill in the
redirect urifield. e.g. In rif's case, it would beredditisfun://auth. You can find what redirect URI you need by looking through the readme on the patches on Github (under the corresponding app in the Details section). -
Copy the client ID string that appears in the app you just made, create a text document named
reddit_client_id_revanced.txtand put it on the root of your phone's storage (/storage/emulated/0/<file here>) with that key in it. -
Install the newest version of ReVanced Manager on your device, tap the Patcher tab, tap your app.
-
Once again, make sure you're using the newest version of ReVanced Manager.
-
In the Patches section, tick the "Change Oauth Client Id" patch.
-
Patch and install (note that if you're using an app that's already installed, you might have to delete it before clicking Install once Revanced is done creating the new apk.)
-
Should be good to go from there.
One extra note I'll add is that you should export your app's settings if it's an option before erasing it and installing the newly patched version. rif has an option for this in Settings > Backup > Export settings (unsure about other apps, I've used nothing but rif for 10+ years lol)
Extra help can probably be found on ReVanced's Discord server if you need it.