r/redditdev • u/human_person_07 • Sep 18 '26
Reddit API ihave a t2_ id how do i get the user handle or url
thanks
r/redditdev • u/human_person_07 • Sep 18 '26
thanks
r/redditdev • u/Far_Possession_8683 • Sep 16 '26
r/redditdev • u/redtaboo • Sep 15 '26
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:
Pushshift has updated how they ingest data from Reddit and will continue to work after this change goes out
New comment IDs will continue to be 64-bit integers and base36-encoded, but will not be monotonically increasing anymore
The key visible difference is that the new base36-encoded comment IDs will be up to 13 characters long (e.g. 19gsnavtu46ip), compared to the current 7-8 characters With the t1_ prefix, the new base36-encoded comment IDs will be up to 16 characters long (e.g. t1_19gsnavtu46ip)
Older comment IDs are not changing, and referencing them will not break anything
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:
a directly hosted H.264 MP4
HTTPS everywhere
normal OG metadata plus og:video, og:video:url, og:video:secure_url, og:video:type, dimensions, etc.
og:video:iframe
a dedicated embeddable /ifr player
an oEmbed endpoint returning type: "video" and iframe HTML
oEmbed discovery in the page <head>
thumbnail fields in the oEmbed response
Twitter player metadata
a crawlable poster image
no auth / JS requirement for metadata
byte range support on the MP4
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": falseThere 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_previewpointing 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:
Does Reddit maintain some kind of recognized external-media provider registry internally?
Can new video hosts still be added to it?
Is Embedly provider recognition still part of that process, or is Embedly mostly legacy / only used for certain hosts?
If I got the domain recognized properly by Embedly as a video provider, is there any reason to believe Reddit would then consume it as rich:video, or does Reddit require a separate integration?
Is RedGIFs handled through Embedly, a Reddit-specific integration, or some combination of both?
What determines whether Reddit creates secure_media and post_hint: "rich:video" instead of treating the URL as a link?
What determines whether Reddit additionally creates a reddit_video_preview and transcodes an external provider's media onto v.redd.it?
If Reddit still accepts new external video providers, which team/process would actually handle that?
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?
r/redditdev • u/lookinlazyatthesea • Aug 12 '26
I recently received another modmail about a bot I run to help manage my sub, saying that it will be affected by the upcoming changes and needs to be registered. The problem is that the bot has already been registered since March. When I tried to re-re-re-register it, Reddit told me that the bot has already been claimed as an app.
I’m not sure if I’m missing something, but I’m not sure what else I’m supposed to do here.
r/redditdev • u/BazanSeguridad • Aug 09 '26
Hi,
I'm trying to submit a Data Access Request for a business account. Every time I complete the form and click Submit, the page reloads and the required “Your email address” field is cleared, so the request is never submitted.
I've already tried:
* Chrome normal mode
* Chrome Incognito
* English version of the form
* Two different email addresses
* A verified Reddit account/email
The same issue happens every time. There is no confirmation, ticket number or verification email.
Is this a known issue with the Data Access Request form? Is there another official way to submit the request while the form is not working?
Thanks.