i know about the dashboard but couldnt find them anywhere
You need to create an app first, go here - https://www.reddit.com/prefs/apps
Referencing old thread - https://www.reddit.com/r/redditdev/comments/251v3z/how_to_get_an_api_key/
You can find the dashboard by clicking on the "hamburger" icon in the top left-hand corner of the screen.
Hey guys!
I've been trying to get a client ID and Secret for a project with PRAW, but the provided link (https://www.reddit.com/prefs/apps) doesn't work. Someone experiencing this? Is this link up-to-date or broken?
I can only access a page that says: "Welcome back! You are already logged in and will be redirected back to Reddit shortly. If you are not redirected automatically, follow this link."
Clicking on "this link" does nothing.
Any help appreciated. Thank you :D
Videos
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.
I haven't updated my bot in a long time and now realised I've lost the clinet id secret etc after switching OS.
How can i regenerate/ get hold of this info again?
Thanks in advance.
(just noticed I'm logged in as the bot, but I'll leave it like this for now)
I published a PRAW project on my github and I left those (+my user agent but not my refresh token) in the code in plain text. I didn't think it was an issue at the time, as they could just use my app instance to run the program, however later I thought that might be a security issue?
If someone were to take my client ID and secret, they shouldn't be able to authorize it with my reddit account or use my account permissions or do anything bad (the permissions are only identity and read anyway)
The worst thing I can think of is using my app instance and user agent to create a bot that breaks the TOS of the API and potentially get me in trouble.
I'm reading https://socialiteproviders.com/Reddit/ and I want to implement Reddit OAuth login on my site. Does Reddit allow that? Where do I start`?
Hello guys. New programming learning about backend (SpringBoot). I am building a simple library app and am using Google Oauth2 for log in and out, and planning to host it using AWS with docker. I want to ask, what are some of the most popular ways to store client_scret in a safe way?
I tried googling but never seems to find a straight answer. There must be like, top 3 most popular ways to store client secret, or something.
Please help
I'm building my first Java API from scratch and I'm using a Spotify dev account to utilize their API with my own. After making my dev account I was given a client id and secret key. What do I do with these? Where do I put them in my application?
I can successfully see the client id but couldn't see client secret after I clicked on "edit". Only basic informations (app name, descriptions, etc) are shown.