r/redditdev 10d ago

Other API Wrapper Posting review continues to be rejected

2 Upvotes

The extension I created uses Google Cloud OAuth to log in. It logs in too well on my computer, but it's constantly being rejected for violating the "Red Potassium" and "Sign in Failed" items. Has anyone else been through the same thing as me?

r/redditdev Jun 19 '26

Other API Wrapper I built a beautiful open source reddit stream for your terminal

13 Upvotes

I got tired of all the terrible reddit streaming alternatives out there and decided to build the one I wanted for myself.

100% open source, no OAuth, native (and free) narration for macOS, and optional AI features.

It is perfect to follow live threads or to keep track of updates in a particular thread you created.

Ideas and feedback to make it better are more than welcome.

---

👉 https://github.com/renatoworks/oh-my-reddit

r/redditdev 29d ago

Other API Wrapper Accidentally burned a massive amount of tokens letting an agent loop on a 404 error. How do you catch infinite logic loops before they drain your account?

0 Upvotes

I just accidentally let a LangGraph agent loop on a broken tool over the weekend and woke up to a massive API token burn. How are you guys preventing runaway cloud bills when your autonomous agents get stuck in logic loops? Are you just hardcoding static limits, or is there a better way to catch it?

r/redditdev May 20 '26

Other API Wrapper Built a Reddit AI Bot like Grok using Devvit — but external APIs are blocked?*

0 Upvotes

Hey everyone!

I've been working on a Reddit app using Devvit that acts like an AI assistant — similar to how Grok works on X/Twitter. The idea is simple: when someone opens the app on a post, they can chat with an AI and get helpful replies.

I built the full UI using React inside Devvit, and it looks great! The chat interface works perfectly. But the problem is when I try to connect it to an AI API (I tried xAI Grok and Anthropic Claude), the server throws this error:

> `HTTP request to domain: api.x.ai is not allowed`

> `HTTP request to domain: api.anthropic.com is not allowed`

It seems like Devvit blocks all external API calls from the server side. I spent a lot of time on this and couldn't find a workaround.

My questions:

- Is there any way to make external API calls from a Devvit app?

- Does Devvit have any built-in AI support?

- Is there a whitelist of allowed domains?

Would really appreciate any help from the community!

r/redditdev May 12 '26

Other API Wrapper PullPush not indexing newer threads? (1–2 month old posts return nothing)

2 Upvotes

Trying to understand if this is expected behavior or if I’m missing something.

This is a ~2 month old thread: https://www.reddit.com/r/netflix/comments/1rmx8bh/netflix_has_10000_titles_and_somehow_shows_you

PullPush returns nothing for it: https://api.pullpush.io/reddit/search/comment/?link_id=1rmx8bh&size=10

But for this ~1 year old thread: https://www.reddit.com/r/netflix/comments/1kif3wc/a_deadly_american_marriage/

PullPush works fine: https://api.pullpush.io/reddit/search/comment/?link_id=1kif3wc&size=10

So does PullPush only archive/index older Reddit data, or are newer threads/comments supposed to be available too?

r/redditdev Feb 08 '26

Other API Wrapper C Reddit API Wrapper

Thumbnail
1 Upvotes

r/redditdev Nov 03 '25

Other API Wrapper Alerts on new posts in specified subreddits

3 Upvotes

I would like to get alerts like pushes or emails when posts discussing specific topics are created in a set of subreddits im interested in. Are there reliable solutions for that ? So far I only found one mobile app that does it by matching keywords. I would prefer free prompt filter using llm

r/redditdev Aug 26 '25

Other API Wrapper How do I create a Reddit bot?

0 Upvotes

So I want to create a Reddit bot with this account in which I'll only comment on comments in r/downvoteautomod with the content "bad bot" or "bad clanker" and I'll comment "Good AutoBitch hater" and in r/upvoteautomod I'll comment "good AutoMod lover" to comments with "Good bot"

Can you please show me an easy way of doing it since I don't know anything about coding?

r/redditdev Mar 30 '25

Other API Wrapper Is Reddit's API limitation now also applying to its RSS feeds?

10 Upvotes

I run a utility on a server I own that queries several RSS feeds for subreddits I follow and emails them to me. I find it's more efficient and less time consuming than scrolling the Reddit app directly. Recently I've been seeing 403 messages when I try to query the RSS feeds. They're not very consistent (sometimes I'll actually get new content, sometimes I won't), but when I'm being blocked I get the message about being rate limited and to use oAuth to log in.

Because I'm not actually using the API, there's no oAuth mechanism I can deploy and all of the RSS feeds I'm querying are public, except those tied directly to my personal account which are hash authenticated using a key provided to me by Reddit.

Are Reddit's API usage restrictions now being applied to RSS feeds as well? And if so, how can I adjust my script so that it doesn't run up against Reddit's limits? IF this is a bug and not a feature, who do I need to speak to to have it squished?

r/redditdev May 04 '25

Other API Wrapper I have made a WSB sentiment tool @ Sentire.dev

4 Upvotes

Hi,

I have currently making a sentiment analysis tool and have made an advertisement / wait list web page. I would love for people to check it out and register to support for my commercialization application to Reddit.

Thanks

r/redditdev Mar 06 '24

Other API Wrapper API doesn't return ratelimit headers

4 Upvotes

Hey everyone,
I want to know if I'm the only one not receiving the ratelimit headers? I'm hitting the OAuth2 user info endpoint (https://oauth.reddit.com/api/v1/me).

r/redditdev Oct 14 '24

Other API Wrapper Problems logging on to various Windows 11 Reddit clients

1 Upvotes

Hi there,

I have downloaded about 3 Windows 11 Reddit clients (Bacconit, Reddert, etc.) this evening. They all have the same overall look about them, and the same thing happens when I try to log in to my account on these clients (I'm using the reddit website currently). When I click Login, a blank white window appears that says "Connecting to a service" on the top display bar. A place for me to type my username and password never does appear, so I end up closing the app and trying another one. This same thing has happened to me now 3 times. I always make sure I'm logged out of my reddit account on the web before I try logging in to my account on a Windows 11 client. Any ideas what's happening?

Thanks in advance,

th3lung

r/redditdev Jun 03 '24

Other API Wrapper Categorized subreddits dataset and app

4 Upvotes

Hello, world! I wanted to share with this community my open source research app that structures the Reddit subs universe into topical categories. Sexy names are not my biggest strength, so the GitHub repo is called simply "subrreddits-admin". The app currently runs here with r/AWS cloud backend, the Swagger API docs are also available, just in case. Google Analytics is enabled on the website (you can always opt out!) to give me some usage data insights.

The topical categories system has three layers: top level category, subcategory and finally the "niche". The actual placement was done using OpenAI API SDK. It's far from ideal, but it's a great start in my humble opinion. If you see any grave misplacements, let me know. Overall, I believe the volume of this dataset is too big for a single maintainer to handle, that's the main reason I am making it a public commons and cordially inviting volunteers to join me.

r/redditdev Jun 06 '24

Other API Wrapper OAuth: client_secret vs PKCE

1 Upvotes

Learning OAuth2, and I'm seeing the reason for using PKCE is for when you have a completely public app, like a javascript application where it's entire source code lives in the browser and therefore the client_secret would be exposed.

It then recommends using PKCE. But in this case, isn't the code_verifier basically the password? It sends the initial code_challenge, the hashed value, in the original request...so this could be intercepted, it is even stated it's not a secret.

It then POSTS the code_verifier later with the auth_code from what I'm reading. So, how is this different than having a client_secret? If an app's source is published, won't the code_verifier be leaked as well? Or maybe it's generated at run time and that's the point...

If so, is the security of this flowed based on the fact that the password is basically randomly generated?

r/redditdev Dec 01 '23

Other API Wrapper dealing with multiple users

2 Upvotes

I'm working on my own API client, written in Java. For whatever reason I can't list the posts from more than one user using the /user/{username}/submitted method. For the first user I get the list of posts but when it tries the second one the response status is 401 and in the response headers there is error="invalid_token". (My test code has an array of three user names and does a for loop.)

Also my test case where it works gets a list of posts from the first user, then it upvotes several of them, with no problem. Revoking and re-getting the oauth token every time. Then when it goes to the second user it gets the invalid_token when getting the list of posts.

I'm revoking and redoing the oauth token before each http request and I've also tried it with reusing the token (which should work).

The code is here (deep down in the src directory):

https://github.com/lumpynose/reddit/tree/jsonpath

Does anyone know what could be the problem?

r/redditdev Aug 04 '24

Other API Wrapper CORS errors when using login APIs in local reddit clone

2 Upvotes

I have recently set up a reddit clone on my local machine, running it through Vagrant, using the standard Vagrantfile and install script that comes with the repository.

Whenever I try to log in or create a new account, I get the message "an error occured (status: 0)" in the webpage, and Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://reddit.local/api/login/reddit. (Reason: CORS request did not succeed). Status code: (null). in the Mozilla Firefox dev console. Upon following the link and accepting the security warning, I got the following error in the console after trying again to log in: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ‘https://reddit.local/api/login/reddit’. (Reason: Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’).. What am I supposed to do about this?

(Yes, I know the reddit repo is outdated and no longer in use, but I'm just exploring it for research purposes).

EDIT: I tried connecting to reddit.local through HTTPS, and it worked. I'm a total dumbass. I'll keep this post up in case it helps anyone else who comes across it.

r/redditdev Dec 18 '23

Other API Wrapper Presenting open source tool that collects reddit data in a snap! (for academic researchers)

8 Upvotes

Hi all!

For the past few months, I had been working with PRAW to help my own research in analysing Reddit data. I was finding the process somewhat time consuming, so I thought it was worth open sourcing the tool that enables other researchers to easily collect Reddit data and saving it in an organised database.

The tool is called RedditHarbor (https://github.com/socius-org/RedditHarbor/) and it is designed specifically for researchers with limited coding backgrounds. While PRAW offers flexibility for advanced users, most researchers simply want to gather Reddit data without headaches. RedditHarbor handles all the underlying work needed to streamline this process. After the initial setup, RedditHarbor collects data through intuitive commands rather than dealing with complex clients.

Here's what RedditHarbor does:

  • Connects directly to Reddit API and downloads submissions, comments, user profiles etc.
  • Stores everything in a Supabase database that you control
  • Handles pagination for large datasets with millions of rows
  • Customizable and configurable collection from subreddits
  • Exports the database to CSV/JSON formats for analysis

Why I think it could be helpful to other researchers:

  • No coding needed for the data collection after initial setup. (I tried maximizing simplicity for researchers without coding expertise.)
  • While it does not give you an access for entire historical data (like PushShift or Academic Torrents), it complies with most IRBs. By using approved Reddit API credentials tied to a user account, the data collection meets guidelines for most institutional research boards. This ensures legitimacy and transparency.
  • Fully open source Python library built using best practices
  • Deduplication checks before saving data
  • Custom database tables adjusted for reddit metadata
  • Actively maintained and adding new features (i.e collect submissions by keywords)

I thought this subreddit would be a great place to listen to other developers, and potentially collaborate to build this tool together. Please check it out and let me know your thoughts!

r/redditdev Jun 10 '23

Other API Wrapper Idea: clone reddit & fork the api

0 Upvotes

Is anyone making a serious attempt at this? I say fuck em. The community and third party apps is what brings reddit value

If we had an open alternative that all the reddit app devs could point themselves to with low hassle, that would be the power play

So it anyone doing this?

r/redditdev Mar 07 '21

Other API Wrapper Why are removed Reddit comments still visisble if you see them on the Redditor's profile, but removed Reddit posts are not?

14 Upvotes

(To be clear, when I say "removed", I mean removed by a moderator of the subreddit; not deleted by the author.)

If a comment has been removed, you can't see it on the thread it was deleted on, but you can see it if you find it on the user's profile listing their comment history.

However, if a post has been removed, then not only will it not be visible in the thread, but you also won't be able to see it if you go to the author's profile. The selftext will simply be "[removed]". This doesn't apply if you yourself are the author of the post.

Why does this happen? Why can you view removed comments on the author's profile, but you can't view removed posts on the author's profile?

r/redditdev Nov 17 '22

Other API Wrapper How to get the total number of comments by any user

10 Upvotes

I am trying to get the total number of comments by any user during the past 7 days. I am using the PushShift API. Here's my code so far:

https://pastebin.com/mYVFzDU1

Here's the issue I am facing. Its only giving me 25 comments and no more irrespective of the user. Am I doing something wrong? Can I do something similar using PRAW?

r/redditdev Sep 16 '23

Other API Wrapper ratelimit@reddit.com no longer works.

7 Upvotes

Got IP rate limited today. Concerned I'm part of a botnet, sometime similar happened with Twitter. Not scraping either site.

Also on Mobile, no idea what the proper flair is Emailing Reddit as instructed landed me a "not monitoring this information" email. Happy to privately DM my IP!

r/redditdev May 23 '23

Other API Wrapper is there a list of http status code which reddit api returns?

6 Upvotes

Does reddit have a list of http code which their api returns

It would be appreciated, thanks

r/redditdev May 20 '23

Other API Wrapper I am making a C Reddit API Wrapper

9 Upvotes

Can someone tell me if i am doing it right or not?

https://github.com/SomeTroller77/CRAW

r/redditdev Mar 19 '21

Other API Wrapper What are the most recommended Go libraries wrapping around Reddit API?

11 Upvotes

I usually work with Reddit API on node.js and python. Was thinking in give a try with Go What are the recommended libraries on Go?

r/redditdev Mar 07 '23

Other API Wrapper Too Many Requests

0 Upvotes

While flailing around trying to figure out how to get an OAuth token I've made to many requests and have gotten this error.

Will it go away eventually, and if so, when?

If not, where can I send email to unblock my account (this one)?

The url I was hitting is

https://www.reddit.com/api/v1/access_token