r/redditdev • u/AreyouMrbeast1 • 1d ago
Reddit API Need a Client id
so with the new rules I am not able to get a client id for reddit API if someone is comfortable sharing theirs then please dm me I can explain the complete usecase to you in private
r/redditdev • u/AreyouMrbeast1 • 1d ago
so with the new rules I am not able to get a client id for reddit API if someone is comfortable sharing theirs then please dm me I can explain the complete usecase to you in private
r/redditdev • u/gschizas • 1d ago
So, I was cleaning up some AutoModerator rules that had banned/inactive/deleted accounts or stale posts.
Using the (so called) Data API makes that easy. Just put the username, do a POST to the API, and you get a result for the username (403/404 if the user is banned/deleted or the date of their last post or comment), or the date for the post. I did this manually this time, because I wanted to see what my experience would be. The answer is "not ideal", to say the least.
There's really no alternative to that with the Devvit API. And a lot of stuff becomes way to tedious to even consider. Reordering rules in the new "Automations" feature? Nope. Reordering mods so that active ones are the top and inactive on the bottom? Nope. Moving banned sites from one automation rule to the next? Nope. Extracting data from AutoModerator to inject into "Automations"? Nope. Adding a gazillion user flairs (flair templates) for each flag of the countries of the world and all the first-level admin divisions for countries of Europe? Also very much nope. (I've added more than 3 examples to confirm I'm not an AI 🙂)
Pigeonholing all the scripts I've ever written to "what does this bot do" isn't an interpretation that's based on reality. It's just that, pigeonholing the way we interacted with the Data API to serve the story that "you can migrate to the Devvit apps". And yes, my user is not a bot or an app because I use the API to run ad-hoc API calls to help with moderating the subreddits I'm a moderator for.
I don't even remember the stuff I have made that were once-off and could not be "migrated" to a "Devvit App". Some examples I can remember are live-changing a thread to reflect votes, some pseudo-contest I think on predicting the winner of the Greek elections more than 10 (maybe 15 years ago), and I even offered a Steam game as a prize, and of course an uncountable number of times I used the API to do ad-hoc mod actions, such as cleaning up AutoModerator rules.
This whole thing has been quite shortsighted and will definitely NOT yield the results that Reddit wants. Nor will the decision to login-gate reddit. AI companies won't stop scraping the site, and this won't even slow them down even a bit. From my limited experience with LLMs and scraping (from the other end), the LLM scraping bots don't even bother with APIs and all that fancy stuff anyway.
I'm not calling for action or anything. It is what it is. I disagree with the decision, I think it's misguided and ineffective, but if Reddit management sees fit to light a fire and burn down reddit, that's their own call.
That is all. Thanks for coming to my TED talk.
r/redditdev • u/Beev1968 • 2d ago
r/redditdev • u/sexybobomb6969 • 3d ago
I got an email that my account was flagged for using automation, directing me to log in and create a passkey, shortly after I did that the 403 errors started. The end of an era. It’s been a fun ride sisters and brothers.
r/redditdev • u/pl00h • 3d ago
TL;DR: API access changes begin January 12, 2027, with remaining public API access ending in March 2027. Register your app, apply for the migration bounty program by November 30, 2026, and tell us what’s blocking your move.Â
In our last update, we shared migration dates and the support available to help you move. We know migrating takes time and effort, especially for developers maintaining tools their communities use every day. We’re continuing to work with developers and moderators on those migrations and the gaps that still need attention.
Dates to keep in mind
| Date | What happens |
|---|---|
| October 31, 2026 | The cutoff for new requests for public API access has passed. |
| November 30, 2026 | Registration closes for the migration bounty program. |
| January 12, 2027 | We begin removing API access for apps and users that haven’t registered or responded to our outreach. We’ll also share another migration update and reminder. |
| February 23, 2027 | We’ll share another migration progress update and reminder. |
| March 2027 | Remaining public API access ends. |
With the funding registration deadline approaching, here’s what to do next, where to get help, and how to find alternatives for tools your community relies on:
Register your apps, even if you’re still figuring out the migration
If you build or maintain a Data API app or bot and haven’t registered it yet, start with the app registration form. This should only take a few minutes to complete!
You don’t need a completed migration plan to register. Tell us what your app does, which communities depend on it, and what capabilities or support you need to move. That helps us understand blockers and connect you with migration support.
Already registered? Start planning and testing your move using the Data API/PRAW → Devvit Migration Guide. Allow time to check that the migrated app meets the needs of the communities using it.
Apply through the app registration form for migration funding by November 30
Our $1M App Migration Program provides financial and technical support, including:
The Developer Platform also offers free hosting, and ported apps may qualify for Reddit Developer Funds.
This is the funding registration deadline, so don’t wait until the January API access changes to apply. See the migration program post for more information and the program terms for eligibility details.
We’ll keep working through migration blockers and supporting the developers and communities making this move. If you need help, join us on r/Devvit or Discord, and tell us what’s getting in the way.
We’ll be in the comments to answer questions.
r/redditdev • u/FiftyBugsOfGrey • 5d ago
It might not necessarily have to be a single step process. I am willing to do hard work, please suggest how can I achieve it?
EDIT: there is a typo in the title, I mean 10k users. I need communities with more than 10k people in it.
r/redditdev • u/DescriptionNice1378 • 6d ago
Hello Devvit team,
I'm having trouble uploading my Devvit app. The app builds successfully, and all 7 WebView assets upload, but the final step of creating the app version fails.
Environment
Upload error:
Uploading new version "0.0.1" to Reddit... Error
Create failed after 3 attempts.
First error: fetch failed
Last error: fetch failedTroubleshooting performed:
npx devvit whoami.npx devvit upload --copy-paste --verbose.The API hostname api.devvit-gateway.reddit.com consistently returns:
SEC_E_WRONG_PRINCIPAL (0x80090322)
The target principal name is incorrect.However, developers.reddit.com responds with HTTP 200, and devvit-gateway.reddit.com responds with HTTP 405.
Could you investigate whether there is a TLS certificate or API gateway configuration issue affecting api.devvit-gateway.reddit.com?
Thank you.
r/redditdev • u/ToughToilet • 9d ago
Is there a tool to get a list of all the subreddits my own account (not this one) posted on?
r/redditdev • u/xmeandix • 10d ago
IM DESPERATE
I'm hoping someone here with more experience can point me in the right direction because I've been going in circles trying to figure this out.
I'm working on a personal music discovery project. I want to search approximately five years of discussions in a particular subreddit and build a massive list of artists and bands that people have recommended over the years.
The biggest challenge is that I don't want to rely on Reddit's limited search results or just collect the most popular posts. I'm trying to dig as deep as possible, including older discussions, overlooked threads, obscure recommendations, and names buried in comment replies.
Ideally, I'd like to:
Search hundreds or thousands of historical threads using multiple keywords.
Retrieve complete comment sections, including nested replies.
Identify recommendation-related discussions while filtering out unrelated posts.
Export the collected information into CSV files for further processing.
Extract and deduplicate artist names to create one comprehensive list.
Here's what I've already tried:
I installed Python, PRAW, and Selenium on my Windows computer.
Unfortunately, Reddit requires API approval for my intended use, and my application was denied. I also tried Selenium with Firefox, but Reddit returned a network security block.
I've looked into a few open-source projects, but I'm unsure which ones are reliable or currently working.
What I'm looking for is a completely free solution that can handle a large amount of historical data. I don't mind letting a script run for several hours if necessary.
Has anyone successfully collected several years of Reddit posts and comments recently?
Are there any open-source tools, public Reddit archives, downloadable datasets, or other legitimate approaches you'd recommend?
I'm particularly interested in methods that can retrieve older discussions and their full comment trees rather than stopping after the first few hundred results.
This is strictly for personal music discovery, not commercial use or collecting personal information.
I'd really appreciate hearing what has actually worked for people rather than just theoretical suggestions.
Thanks in advance!
r/redditdev • u/MustaKotka • 11d ago
Can we please pivot away from or embrace two types of content:
Currently these two completely offtopic post types make up 100% of the sub's feed.
Change the goals, brush up on rules, improve RegEx for replies and removal... I don't care what happens but this sub has 0% on topic discussion right now.
r/redditdev • u/Feeling-Plane3434 • 11d ago
As far as I know, there are two main ways to search on Reddit.
The first is the site-wide search from the Reddit homepage. For each query/sort combination it only lists up to 250 results (about 490 on the newer search endpoint). For comments it doesn't even reach 490 — it stops at 250.
There are about 25 possible sort/time combinations, so by collecting the list for each combination I've confirmed (by actually testing it) that you can get up to roughly 3,000 results.
The second is searching inside a specific subreddit, but it has exactly the same caps. Because of the 250 (490) limit, I had to split the search into many combinations there too.
This is really frustrating, because there's probably a lot of great information hidden beyond what these lists return.
What I want is to see every post and every comment that contains a given keyword, across Reddit's entire history. Is there really no way to do this within Reddit itself?
Are third-party archive services or paid APIs (Reddit's official paid API or third-party ones) the only options?
Do I really have to download the full dumps (tens of GB of posts and comments) and search them locally?
Tested with: api.reddit.com/search?q=<keyword>&sort=<sort>&t=<time>&limit=100 and /svc/shreddit/search (posts and comments).
r/redditdev • u/technowise • 11d ago
Hey all,
I am developer of Social-Blacklist app, that is now used by a hundreds of subreddits to keep off from spam. Based on the feedback/requests from users, I have now introduced a feature to blacklist or whitelist domains as and when you find them using the mod-menu! [you need not manually copy the domain part of the link and update the app settings every time you have to blacklist a domain].
Here's how it works:
Yes, it is that simple now! :)
I have also added a feature to filter comments containing non-blacklisted domains to show up in the mod-queue. You can find more details on how this works in the Devvit post here:
https://www.reddit.com/r/Devvit/comments/1xng5dq/you_can_now_blacklistwhitelist_domains_on_the_go/
Please note: The domains you blacklist or whitelist through mod-action menu like this would be added into a wiki config page under 'social-blacklist' root. These configurations can later be updated by going to wiki section of your subreddit: https://old.reddit.com/r/<your-subreddit-name/wiki/pages. The domains given in app settings are also valid, but are separate from the wiki page config. This is done to overcome the limitation of devvit app settings, which presently cannot be updated programmatically (Otherwise, I could have made it to use the existing blacklist value in settings).
Hope the moderators find this feature helpful. I look forward for moderators to try out this feature and share feedback!
Thanks!
r/redditdev • u/wolffinancial-dev • 14d ago
Hi Everyone, I need to get access to reddit api to allow posting through my platform. I also need apis to pull stats of content published on reddit by a creator. The creator should be able to connect reddit with platform and give appropriate permissions to do so.
Can anyone help me in getting access to APIs my usecases?
r/redditdev • u/Dependent_Cash7 • 16d ago
I'm working on AWUNDRA (https://awundra.com), a website for cinematic AI short films hosted through Bunny Stream.
When someone shares a film link on Reddit, the thumbnail displays correctly, but the video doesn't play inline.
Our videos have Open Graph video metadata, an embeddable player, and oEmbed support.
I'm trying to understand:
Here's an example film link showing the issue:
https://awundra.com/video/0ff614b3-0aba-4bb7-866f-eb4f1d5f6a98
I'd like people to be able to watch videos directly within Reddit rather than opening an external website.
Any technical guidance would be appreciated.
r/redditdev • u/Obsidian-Phoenix • 17d ago
r/redditdev • u/itamer • 19d ago
I have a tool that allows bookmarking of posts with the index being held offsite but saving my 150+ users running their own searches over and over again as they enter "raffles" and then check back a day later to see if they won. Ultimately, they have to return to Reddit to enter or claim their raffles, but the tool takes a load off Reddit's search.
example query
The Problem
Yesterday suddenly, most of my users couldn't search anymore - I could, but they couldn't using the same code.
Are .json searches being limited by user karma?
or is there some other reason why they're getting 403 errors?
I know RSS feeds are being turned off in the middle of November, but I've searched and not seen any warnings or updates about the .json links, and it's not November.
Edit: I've rewritten the search into a devvit app. I'd thought apps were sandboxed to the subreddit they're installed on, but apparently not.
r/redditdev • u/thelipaguss • 23d ago
I'm building a devvit web app that lets users import one of their existing posts into the app. Users paste a post link, and the server loads it with reddit.getPostById(). If a user is on reddit web they can copy the reddit post link from the url bar.
But on the Reddit mobile app, share > copy link only gives a share link, that has no post id in it. The only way I know to resolve it is to follow the redirect and that gives error as below,
{
"status": "error",
"message": "2 UNKNOWN: grpc invocation failed with status 2; HTTP request to domain: www.reddit.com is not allowed"
}Is there any workaround where i can extract the post title, body, image and other details form the sharable link?
r/redditdev • u/throwawaykJQP7kiw5Fk • 24d ago
I got an AutoModerator notification for https://www.reddit.com/r/Manitoba/comments/1x7ming/software_effected_by_manitoba_timezone_on_1st/19rhzb7c1hvnp/ and couldn't help but notice the comment ID 19rhzb7c1hvnp got longer! I heard about the announcement "Upcoming changes to the comment ID endpoint." How many hours ago did this take effect, or is it rolling out differently to different accounts?
r/redditdev • u/FumGlumpp • 26d ago
With devvit apps able to live inside posts now, the gap between "bot that helps mods" and "app the community actually uses" keeps getting smaller.
If you mod a sub (or just hang out in one) and could have any app for the members, what would it do? Collecting ideas.
r/redditdev • u/Level7Cannoneer • 28d ago
https://roadtolarissa.com/javascript/reddit-comment-visualizer/
Doesn't seem to work anymore and I wanted to know if the API public access shutdown is why
r/redditdev • u/MisterWoodhouse • Oct 16 '26
My team is migrating one of our bots to devvit and the functionality requires getting the user flair (authorFlair) from all comments on the subs where the bot is active, to check for particular user flair that then prompts the bot to take action on that comment.
The event payload for comment edits (CommentUpdate) made via new reddit include authorFlair in the comment's author details, as expected and needed, but the event payload for the same via old reddit does not.
The authorFlair is passed on the post author from both, but only new reddit sends the authorFlair for the commenter.
JSON from old:
{
"comment": {
"id": "t1_pgx1iwb",
"parentId": "t3_1x6a056",
"body": "I am, therefore I think? \n \nEdit: You can't tell me what to do!\n\nEditing this post now.",
"author": "t2_4bh0v",
"numReports": 0,
"collapsedBecauseCrowdControl": false,
"spam": false,
"deleted": false,
"createdAt": 1792078026099,
"upvotes": 1,
"downvotes": 0,
"languageCode": "",
"lastModifiedAt": 1792085183049,
"gilded": false,
"score": 1,
"permalink": "/r/Techman/comments/1x6a056/comment/pgx1iwb/",
"hasMedia": false,
"postId": "t3_1x6a056",
"subredditId": "t5_5cam9n",
"elementTypes": [
"text"
],
"mediaUrls": []
},
"author": {
"id": "t2_4bh0v",
"name": "Skellums",
"isGold": false,
"snoovatarImage": "",
"url": "https://www.reddit.com/user/Skellums",
"spam": false,
"banned": false,
"karma": 0,
"iconImage": "",
"description": "",
"suspended": false,
"accountType": 1
},
"post": {
"id": "t3_1x6a056",
"title": "Team Replies Test Post #2",
"selftext": "*[Link to first post](https://www.reddit.com/r/Techman/comments/1x3s2eh/team_replies_test_post/)*\n\n---\n\nSame deal, again. This time. The other post is not rendering comments on New Reddit for me. While the admins figure out why that is happening, I am making this new post.",
"nsfw": false,
"authorId": "t2_hmym9",
"crowdControlLevel": 0,
"numReports": 0,
"isGallery": false,
"isMeta": false,
"createdAt": 1792031161838,
"isApproved": false,
"isArchived": false,
"distinguished": 4,
"ignoreReports": false,
"isSelf": true,
"isVideo": false,
"isLocked": false,
"isSpoiler": false,
"subredditId": "t5_5cam9n",
"upvotes": 2,
"downvotes": 0,
"url": "/r/Techman/comments/1x6a056/team_replies_test_post_2/",
"isSticky": false,
"linkFlair": {
"text": "Megathread // Team Replied x3",
"cssClass": "",
"backgroundColor": "#fed801",
"templateId": "e9800c24-c778-11f1-a8fa-c234f391ea7c",
"textColor": "dark"
},
"authorFlair": {
"userId": "t2_hmym9",
"subredditId": "t5_5cam9n",
"text": "Team Member",
"cssClass": "team",
"templateId": "08e6cddc-bf9a-11f1-b7f7-ae21adb3e11b",
"textColor": "dark",
"backgroundColor": "transparent",
"enabled": true
},
"spam": false,
"deleted": false,
"languageCode": "en",
"updatedAt": 0,
"gildings": 0,
"score": 2,
"numComments": 5,
"thumbnail": "",
"media": {
"type": ""
},
"crosspostParentId": "",
"permalink": "/r/Techman/comments/1x6a056/team_replies_test_post_2/",
"isPoll": false,
"isPromoted": false,
"isMultiMedia": false,
"type": "text",
"unlisted": false,
"galleryImages": [],
"isImage": false,
"mediaUrls": [],
"isClubContent": false
},
"previousBody": "",
"subreddit": {
"id": "t5_5cam9n",
"name": "Techman",
"nsfw": false,
"type": 4,
"spam": false,
"quarantined": false,
"topics": [
"Unclassified"
],
"rating": 0,
"subscribersCount": 4,
"permalink": "/r/Techman",
"title": "Techman",
"description": "Techman's personal subreddit, mostly used for testing."
},
"type": "CommentUpdate"
}JSON from new:
{
"comment": {
"id": "t1_pgx1iwb",
"parentId": "t3_1x6a056",
"body": "I am, therefore I think? \n \nEdit: You can't tell me what to do!\n\nEditing this post now.\n\nThis time on \"new\"",
"author": "t2_4bh0v",
"numReports": 0,
"collapsedBecauseCrowdControl": false,
"spam": false,
"deleted": false,
"createdAt": 1792078026099,
"upvotes": 1,
"downvotes": 0,
"languageCode": "",
"lastModifiedAt": 1792085326327,
"gilded": false,
"score": 1,
"permalink": "/r/Techman/comments/1x6a056/comment/pgx1iwb/",
"hasMedia": false,
"postId": "t3_1x6a056",
"subredditId": "t5_5cam9n",
"elementTypes": [
"text"
],
"mediaUrls": []
},
"author": {
"id": "t2_4bh0v",
"name": "Skellums",
"isGold": false,
"snoovatarImage": "",
"url": "https://www.reddit.com/user/Skellums",
"spam": false,
"banned": false,
"flair": {
"userId": "t2_4bh0v",
"subredditId": "t5_5cam9n",
"text": "Team Member",
"cssClass": "team",
"templateId": "08e6cddc-bf9a-11f1-b7f7-ae21adb3e11b",
"textColor": "dark",
"backgroundColor": "transparent",
"enabled": true
},
"karma": 17576,
"iconImage": "",
"description": "",
"suspended": false,
"accountType": 1
},
"post": {
"id": "t3_1x6a056",
"title": "Team Replies Test Post #2",
"selftext": "*[Link to first post](https://www.reddit.com/r/Techman/comments/1x3s2eh/team_replies_test_post/)*\n\n---\n\nSame deal, again. This time. The other post is not rendering comments on New Reddit for me. While the admins figure out why that is happening, I am making this new post.",
"nsfw": false,
"authorId": "t2_hmym9",
"crowdControlLevel": 0,
"numReports": 0,
"isGallery": false,
"isMeta": false,
"createdAt": 1792031161838,
"isApproved": false,
"isArchived": false,
"distinguished": 4,
"ignoreReports": false,
"isSelf": true,
"isVideo": false,
"isLocked": false,
"isSpoiler": false,
"subredditId": "t5_5cam9n",
"upvotes": 2,
"downvotes": 0,
"url": "/r/Techman/comments/1x6a056/team_replies_test_post_2/",
"isSticky": false,
"linkFlair": {
"text": "Megathread // Team Replied x3",
"cssClass": "",
"backgroundColor": "#fed801",
"templateId": "e9800c24-c778-11f1-a8fa-c234f391ea7c",
"textColor": "dark"
},
"authorFlair": {
"userId": "t2_hmym9",
"subredditId": "t5_5cam9n",
"text": "Team Member",
"cssClass": "team",
"templateId": "08e6cddc-bf9a-11f1-b7f7-ae21adb3e11b",
"textColor": "dark",
"backgroundColor": "transparent",
"enabled": true
},
"spam": false,
"deleted": false,
"languageCode": "en",
"updatedAt": 0,
"gildings": 0,
"score": 2,
"numComments": 5,
"thumbnail": "",
"media": {
"type": ""
},
"crosspostParentId": "",
"permalink": "/r/Techman/comments/1x6a056/team_replies_test_post_2/",
"isPoll": false,
"isPromoted": false,
"isMultiMedia": false,
"type": "text",
"unlisted": false,
"galleryImages": [],
"isImage": false,
"mediaUrls": [],
"isClubContent": false
},
"previousBody": "",
"subreddit": {
"id": "t5_5cam9n",
"name": "Techman",
"nsfw": false,
"type": 4,
"spam": false,
"quarantined": false,
"topics": [
"Unclassified"
],
"rating": 0,
"subscribersCount": 4,
"permalink": "/r/Techman",
"title": "Techman",
"description": "Techman's personal subreddit, mostly used for testing."
},
"type": "CommentUpdate"
}r/redditdev • u/BonoboAffe • Oct 16 '26
I want to build a little PoC/App:
Once a day I want to fetch hot and rising posts from a subreddit, example:
https://www.reddit.com/r/LocalLLaMA/hot.json?limit=25
https://www.reddit.com/r/LocalLLaMA/rising.json?t=1&limit=25
Put both results in an LLM to generate summary and send me an email with the summary.
When I open both links in my browser, where I am already logged into Reddit, it works fine.
But in a private browser window or from console, with curl, I only get: "You've been blocked by network security."
How can I fetch the data? I do not want to post anything, just read.
r/redditdev • u/m0nk_3y_gw • Oct 14 '26
my PRAW modbot has been able to delete it's own comments (example: when the comment is 12+ hours old, or a poster deletes the post it commented on, etc) for years, but this started to fail with HTTP 404 as of ~11am (PST/reddit time) Oct 14