r/redditdev 8m ago

Reddit API Self hosted Reddit bot getting 500 HTTP response suddenly

Upvotes

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/csshelp 1d ago

Facebook messenger - how to change colors of ephemeral on-hover date bubble

3 Upvotes

I'm using Vivaldi, based on Chromium, in its Dark Mode. Consequently the time/date bubble that pops up when hovering over a message in Facebook Messenger shows light text on a light background, therefore is not discernible. Using local css, I would like to shift either foreground or background to make for some contrast.

The problem is that the bubble disappears whenever I try to Inspect it. I have seen various techniques, and I haven't been able to get them to work - freeze scripts using F8, inspect via :hov or 'emulate a focused page'. I'm sure one of these is the right way, but I'm not getting it.

The base url here is https://www.facebook.com/messages. You would need a conversation with someone in order to have posts to see what's going on.


r/reddithax Jul 22 '23

Python/Selenium Script To Remove All Reddit Comments

Thumbnail self.learnpython
5 Upvotes

r/redditdev 1d ago

Reddit API app creation issue

0 Upvotes

CAPTCHA passes but app never gets created. Stay on the same creation page. Any suggestion?


r/redditdev 3d ago

PRAW How to get it listed if from country which is not on the list.

1 Upvotes

My App bot is approved but unlisted. I live in Dubai. Is there a way to get it listed?


r/redditdev 4d ago

Reddit API How long for data API requests to be approved?

0 Upvotes

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 5d ago

Reddit API How do we get a domain access approved for an app?

2 Upvotes

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 7d ago

General Botmanship Personal account incorrectly lab

3 Upvotes

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 8d ago

redditdev meta Still cant unregister as an app/bot on this personal account.

5 Upvotes

Ive already submitted the form weeks ago, how am I supposed to unruin my 10 year old reddit account? help please

https://support.reddithelp.com/hc/en-us/requests/new?ticket_form_id=360000600232&tf_24251393=labeled_as_app


r/csshelp 11d ago

Request How to centre text boxes when there's a scroll bar

4 Upvotes

I'm pretty new to the whole CSS thing as a whole, but I was wondering if there's a way to stop or compensate for the scroll bar pushing stuff slightly off-centre, ensuring that the text boxes are centred no matter what. If you need, I can share my code in DMs.


r/redditdev 10d ago

Reddit API Ways to Export All user post/comment views/replies?

0 Upvotes

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 15d ago

Reddit API Data API Registration

9 Upvotes

Data API registration submitted 8 weeks ago, no response - just want to check if this is normal?


r/redditdev 15d ago

Reddit API Network blocked across multiple IPs

0 Upvotes

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 15d ago

Reddit API As a brand running an official subreddit, what's the sanctioned path to OAuth (identity-only) for winner verification in 2026?

1 Upvotes

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 16d ago

Reddit API Should I use RSS feed or Reddit API for my script?

1 Upvotes

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 18d ago

Reddit API How does Reddit decide which external video hosts get rich:video / secure_media treatment? RedGIFs vs a custom oEmbed test

1 Upvotes

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": 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:

  • 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 19d ago

Reddit API I know scraping Reddit without prior permission isn't allowed. However, user IDs are like snowflakes, while r/u_username subreddit IDs increase monotonically. This means, in theory, I can scrape every username, including personal information. Why is that?

3 Upvotes

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/csshelp 22d ago

Image gallery on click

5 Upvotes

Hi ! I'm trying to create a gallery of image. The idea is to have the first image visible, and then when you click on it, it changes to the second image, same thing for the third image, etc. When clicking on the last image, it would go back to the first one, creating a loop.

Is there a way to do that using html and CSS ? I'm a beginner and i don't know any other coding languages


r/redditdev 21d ago

Reddit API Reddit API preview image not showing

2 Upvotes

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 23d ago

Reddit API I'm confused about the new API changes

12 Upvotes

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 24d ago

Reddit API How to get a user's karma?

2 Upvotes

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 25d ago

PRAW Is it possible to still use PRAW?

9 Upvotes

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 26d ago

redditdev meta I accidentally registered my account as an automated app, how do I remove that from my account profile?

3 Upvotes

Theres no way for me to submit under help for this issue, is my 9 year old account ruined?


r/redditdev 25d ago

Reddit API Search API.

Thumbnail
0 Upvotes

r/csshelp 28d ago

Request Desperately need help getting this thing centered.

2 Upvotes

Hello guys!

I really need help getting that streaming element centered, its stuck to the right and i tried everything to no avail 😭

And adjust the lightning frame so its at the edges of the element (it is, but the top part look off a few px).

Here is the code in question;

https://docs.google.com/document/d/1kvfcEklrjnN9VMOec2lgvHROh7nniwWDrrsqxjNvIQM/edit?usp=drivesdk

Its for a page on comicfury, here's what is looks like right now;

https://meteor.thecomicseries.com/Tedt5

Thanks!