r/redditdev • u/Better-Review8635 • 24d ago
Reddit API Does Reddit have api capabilities?
I want to build sort a scanner of specific criteria post daily without having to do it through an online browser
r/redditdev • u/Better-Review8635 • 24d ago
I want to build sort a scanner of specific criteria post daily without having to do it through an online browser
r/redditdev • u/ConstructionAny8440 • 25d ago
Automoderator currently doesnt expand placeholders like {{subreddit}} when they are used inside a body (regex) rule, thus making it difficult to write regex rules that involve the current subreddit name. This forces mods, including me, to hardcode the subredddit name in every config instead of writing reusable "Generalist" rules that can automatically adapt to each community.
I am facing this issue since last few years and A fix around this would be a great help and this little tweak will surely help mods to design portable automod rules providing great flexibility in multi-sub moderation. Thanks!
r/redditdev • u/stonk_lord_ • 27d ago
App in question: dejarepost
Subreddit in question: r/CringeTikToks
Platform: Desktop
Hi everyone, I'm having a bit of trouble with my devvit app
The app's mod account (dejarepost) shows "no permissions" in the modteam list of r/CringeTikToks. Every attempt to edit its permissions or remove it fails with "something went wrong," on old.reddit, new Reddit, and mobile.
What I've tried so far:
This is also breaking the app at runtime, specific to this subreddit only (same build works fine on other subs, including a larger one): reddit.getPostById() throws no post <id> in onPostSubmit 100% of the time, and I've also seen Error: 1 CANCELLED: Call cancelled (gRPC) during seed jobs. My guess is the install record itself is corrupted, possibly from refreshing the Devvit dashboard mid-"uninstalling" during an app update a while back.
The app works fine on every other subreddit it's installed in. just not on r/CringeTikToks
At this point it seems like it needs someone to manually clear/reset the install record on the backend, since uninstall/reinstall and admin removal haven't touched it. Any advice, or can someone with backend access take a look?
App version: 0.0.x (Public API 0.14.2)
r/redditdev • u/human_person_07 • 27d ago
thanks
r/redditdev • u/Far_Possession_8683 • 28d ago
r/redditdev • u/redtaboo • 29d ago
Hello again devs! Just a reminder on an upcoming change to how new comment IDs will change going forward.
TL;DR: if you have anything in your code that expects comment IDs to be fewer than 8 characters you will need to make an adjustment.
Technical details:
This change will start rolling out the week of September 28th. Let me know if you have any questions about this change.
r/redditdev • u/_Face • Sep 12 '26
Did something change at reddit?
One of my registered and tagged bots has been getting a "Request error: received 500 HTTP response" error for the last 48-ish hours. I logged into that account manually and it appears to function just fine. I host another bot on the same device, and it is not having any errors. I did not make any changes to the code. The bot did randomly fire once in the logs, but is in a loop to sleep when it encounters that error.
500 errors are server side(usually temporary), so I have an exception to catch them and sleep for 15 minutes before restarting the script. They do occasionally happen, so no big deal generally. I have never seen it happening for 48 straight hours.
r/redditdev • u/Extra_Gas_5009 • Sep 11 '26
CAPTCHA passes but app never gets created. Stay on the same creation page. Any suggestion?
r/redditdev • u/Fantastic-Dinner-919 • Sep 09 '26
My App bot is approved but unlisted. I live in Dubai. Is there a way to get it listed?
r/redditdev • u/justhereforampadvice • Sep 07 '26
Just submitted the form for a personal use bot that just collects data on activity in a few subreddits. Wondering if anyone can speak to how quickly requests are approved/rejected? Mine should be a quick decision once it actually gets in front of someone.
r/redditdev • u/Prestigious-Tax-9189 • Sep 07 '26
I'm building an app that fetches an RSS on regular basis and makes posts to a subreddit. Surely it needs to access the RSS, as well as to pull information from the target post to have a more comprehensive information in the post rather than just a short message format.
How do we get the domain access approval for the apps? What's the procedure?
r/redditdev • u/Smart_AI_Hustle • Sep 05 '26
Hi,
My personal account u/Smart_AI_Hustle has been incorrectly labeled as an “App” and my profile displays “This is an automated account.”
I am a real person and I operate this account manually. I do not use this account as a bot or for automated posting.
I have already tried the Reddit Help/support process and have been trying to resolve this for approximately a month. The support form also does not consistently show the “Account incorrectly labeled as APP” option for me.
I previously asked about this in r/help, but the issue remains unresolved.
Could a Reddit admin please review this account or flag it internally for the appropriate team?
I am happy to complete any human/passkey verification required.
Thank you.
r/redditdev • u/online-optimism • Sep 02 '26
Reddit Pro offers a way to export the past 100 comment/replies from a user along with their views/replies/shares/awards. But it seems limited to the most recent 100. Is there any way to export the entire account's history? I checked the API documentation but didn't see anything.
r/redditdev • u/dbunn117 • Aug 28 '26
Data API registration submitted 8 weeks ago, no response - just want to check if this is normal?
r/redditdev • u/noobwithguns • Aug 28 '26
I have tried my own pc, my VPS, VPNs all to no avail.
First I create a oauth token and then use that to upload images to the cdn where I get network blocked this setup worked for months without issues.
I make one post every 3 days so shouldn't be ratelimited aswell.
I provided the UA as bot:token v1.0.1 by /u/xxxxx
r/redditdev • u/LeeMmai • Aug 28 '26
We run an official brand subreddit and regularly host community campaigns with
rewards there. We want exactly one thing: "Sign in with Reddit" on our official
reward page, so winners can prove account ownership before claiming - identity
scope, one /api/v1/me call per sign-in, well under 1,000 calls/month.
We've tried every route we could find: app creation at prefs/apps fails silently
for all three app types (clean, email-verified mod account); two Data Access
Requests were declined with the same automated template; emails get an auto-reply
pointing back to the same form.
Genuine question: is there any sanctioned path left for a small, legitimate
brand use case like this, or is external OAuth effectively enterprise-only now?
Any pointers to the right team or process would be appreciated.
r/redditdev • u/FootballFanngl • Aug 27 '26
I was trying to build a automatic alert system for hiring posts. I ran into trouble trying to get the posts from subreddits using the reddit API. From my understanding you need to submit a request, which takes around 3 weeks and only then can you use it and most people are rejected. So a workaround is RSS feed and playwright. I just want to confirm that I need to submit a request and only then can I use the reddit API?
r/redditdev • u/Admin_Prism • Aug 25 '26
I've been digging into how Reddit handles external video hosts because I'm working on a video hosting platform and would eventually like links from our own domain to behave more like RedGIFs links: inline playback rather than a normal external link card.
I built a small proof of concept to see how much of this could be achieved through standard metadata.
The test page has:
og:video, og:video:url, og:video:secure_url, og:video:type, dimensions, etc.og:video:iframe/ifr playertype: "video" and iframe HTML<head>Reddit definitely crawls the page correctly. It picked up the 1280x720 poster and generated preview.images.
But the resulting post is still:
"post_hint": "link",
"secure_media": null,
"media": null,
"media_embed": {},
"secure_media_embed": {},
"is_video": false
There is no reddit_video_preview.
So it behaves like a normal link with a thumbnail.
I then compared that JSON with a RedGIFs submission.
The RedGIFs post gets roughly:
"post_hint": "rich:video",
"secure_media": {
"type": "redgifs.com",
"oembed": {
"type": "video",
"provider_name": "RedGIFs",
"html": "<iframe ... src=\"https://www.redgifs.com/ifr/...\">"
}
}
It also has populated media_embed / secure_media_embed, including a Reddit wrapper like:
redditmedia.com/mediaembed/{post_id}
And, interestingly, the RedGIFs example also had:
preview.reddit_video_preview
pointing at Reddit-hosted v.redd.it DASH/HLS/MP4 files, with transcoding marked completed.
So Reddit appears to be doing substantially more than simply parsing RedGIFs' OpenGraph tags.
I also ran another control that made this more interesting.
Using the same Reddit account, I submitted a TED video URL. That became rich:video, and the Reddit JSON contained an actual Embedly player:
<iframe class="embedly-embed"
src="https://cdn.embedly.com/widgets/media.html?...">
with:
"secure_media": {
"type": "ted.com"
}
and a redditmedia.com/mediaembed/... wrapper.
So at least for some providers, Embedly is apparently still somewhere in the live Reddit media path today.
I then put my own test URL into Embedly's embed explorer. Embedly successfully scraped the title, description and thumbnail, but classified the URL as:
"type": "link"
rather than video.
My own oEmbed endpoint, meanwhile, returns:
{
"version": "1.0",
"type": "video",
"provider_name": "TestGIF",
"html": "<iframe src=\"https://.../ifr\" ...></iframe>",
"width": 1280,
"height": 720,
"thumbnail_url": "https://.../poster.jpg",
"thumbnail_width": 1280,
"thumbnail_height": 720
}
So simply publishing an oEmbed endpoint clearly isn't enough for Embedly or Reddit to treat a previously unknown domain as a video provider.
At this point I'm pretty convinced I'm no longer looking for a missing meta tag.
What I'm trying to understand is the legitimate provider side of the system.
Does anyone here know how this currently works?
Specifically:
rich:video, or does Reddit require a separate integration?secure_media and post_hint: "rich:video" instead of treating the URL as a link?reddit_video_preview and transcodes an external provider's media onto v.redd.it?I'm not looking for a way to spoof RedGIFs, bypass Reddit restrictions, fake provider fields, etc. I specifically want to figure out the supported way to build this if one exists.
I also realize people often call this a "whitelist", but I haven't found anything from Reddit actually documenting it under that name, so I'm trying not to assume that's how the system is implemented internally.
If anyone has worked on an external media provider, Embedly integration, old Reddit media embeds, or knows how Gfycat/RedGIFs ended up getting this treatment, I'd be very interested in understanding the provider-onboarding side of it.
r/redditdev • u/throwawaykJQP7kiw5Fk • Aug 24 '26
With some exceptions, like the usernames "DreamingOfWinterfell_jasonbroken" and "founded" (these don't have corresponding subreddit IDs in the raw API data, but the URLs for r/u_DreamingOfWinterfell_jasonbroken and r/u_founded redirect to the corresponding user profiles on the normal website).
Also if that long username decided to log into their account again, would a username like u_DreamingOfWinterfell_jasonbroken-ModTeam be technically possible?
Edit: To clarify, some API endpoints regarding subreddit IDs show banned and deleted accounts, too.
r/redditdev • u/Duckmastermind1 • Aug 22 '26
Hey, so I'm playing around with the reddit API and tried uploading some posts on a private sub as testing with images, but I don't seem to get the preview image working, tried placing the image before or after the text and still nothing, any idea?
r/redditdev • u/_VooDooDoll • Aug 19 '26
Please, forgive me if what I say is ignorant, but I really need a bit of help.
I moderate a couple of subreddits and I created a couple apps to help me moderate them, as part of the developers I got a mod mail from Reddit saying that are making long time changes to the Public API. Now, my apps use all "@devvit/pubblic-api" but likely talks about Python and PRAW apps that use Reddit API.
I'm a bit confused if my apps will be impacted by this change or not, can you please help me understand this changes? Thank you.
r/redditdev • u/SuperTiboblh • Aug 19 '26
When I go to https://www.reddit.com/user/supertiboblh/about.json in my browser I get a response with my karma, but when I try that using python with the requests package I get a response code 403 with a html page saying "You've been blocked by network security." (but its not because of my ip or something because on my browser it works). Does the request need a token or something?
r/redditdev • u/DiodeInc • Aug 18 '26
I don't know TypeScript, but am familiar with python. At one point I was able to get PRAW working but then it stopped and I haven't been able to get it since. Trying to apply for access Just sends me in a loop of pages
r/redditdev • u/dkozinn • Aug 14 '26
I have several bots that I use to assist in modding my subreddits using the "old" data api via PRAW/Python. When I originally built them, I set them up to use a single account created for that purpose.
While I'd eventually like to migrate them to Devvit, in the meantime I want to know if based on the recent communications I'd need to move each of these to it's own user/app account?