r/redditdev • • 24d ago

General Botmanship Social-Blacklist app can now blacklist domains on the go through mod-menu! [Devvit app/bot]

2 Upvotes

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:

  1. You select any comment containing a link/domain which you want to blacklist or whitelist.
  2. Click on the Mod-menu button ⛉.
  3. Then select "Blacklist/Whitelist domain" option in the menu. This will bring up a form to select domain, and action (to whitelist/blacklist).

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

Reddit API Getting access to Reddit APIs

0 Upvotes

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

Reddit API Is this allowed?

Thumbnail
0 Upvotes

r/redditdev • • 28d ago

Reddit API How can I get Reddit to recognize my website as an embeddable video provider, like YouTube or Vimeo?

0 Upvotes

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:

  1. Does Reddit support adding new external video providers?
  2. Is there a registration or approval process?
  3. Is inline playback restricted to specific recognized providers?

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

General Botmanship Memorial sub auto repost

Thumbnail
3 Upvotes

r/redditdev • • Oct 28 '26

Reddit API .json searches are suddenly failing for some users, why?

7 Upvotes

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

https://www.reddit.com/r/FarmMergeValley/search.json?restrict_sr=1&sort=new&t=month&limit=50&q=Chippy

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 • • Oct 24 '26

Reddit API Devvit app not able to fetch sharable links

9 Upvotes

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/csshelp • • Oct 12 '26

Request How can I filter an array of objects based on a specific property?

3 Upvotes

I'm stuck on an assignment. I have an array of objects, and I need to filter it by a certain property value. I thought I could use the `filter` method, but my output doesn't match my expectations. I'm checking if one property equals a certain value, but I keep getting more results than I should. Is there a common mistake I could be making? Any help would be great!


r/redditdev • • Oct 22 '26

Reddit API When did the comment ID endpoint change?

9 Upvotes

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 • • Oct 21 '26

Reddit API Devs who mod: what community app would you build if you had a free weekend?

5 Upvotes

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 • • Oct 18 '26

Reddit API Does the API shutdown ruin websites like https://roadtolarissa.com which lets you see your most recent comments in graph form?

7 Upvotes

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 • • Oct 16 '26

General Botmanship authorFlair not present in author data for CommentUpdate event payload on edits made via old reddit

3 Upvotes

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 • • Oct 16 '26

General Botmanship How to read hot and rising trends from script/n8n?

3 Upvotes

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 • • Oct 14 '26

Reddit API API regression - HTTP 404 error deleting comments

7 Upvotes

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


r/csshelp • • Oct 02 '26

How do I replace the Reddit logo in old Reddit with another image?

2 Upvotes

When I try following the tutorials on the internet, it always gets me on the same bug: The logo is WHITE for no reason! Can anyone here help? This is for my sub r/incorrectfactorial! Also, visit the sub r/incorrectfactorial in old.reddit.com, when I mean the CSS stylesheet is terrible!


r/redditdev • • Oct 12 '26

redditdev meta Having trouble getting my task-posting feature to work

1 Upvotes

Hey everyone! 👋

I'm currently building a new Devvit app called r_task_bounty_app and I'm still working through the development/testing stage.

The idea behind the app is to allow Reddit users to:

• Post a task

• Set a bounty/reward for completing it

• Have the funds securely held until the task is completed

• Release the payment to the person who completes the task

I've got the subreddit and the basic app functionality set up, but I've run into a bug that I'm having trouble figuring out.

The problem:

When I try to create/post a task through the app, the task isn't actually being posted to r_task_bounty_app.

I've gone back through my code and configuration, but I'm currently stuck trying to figure out whether the problem is with the post creation logic, the Devvit configuration, permissions, or how I'm handling the custom post.

I'm still learning Devvit, so I'd really appreciate any suggestions on where I should start troubleshooting this.

If anyone has run into something similar with "submitPost()", "submitCustomPost()", menu actions, or posting to a test subreddit, I'd definitely appreciate some guidance.

App: r_task_bounty_app

Current status: Still in development/testing

Issue: Task submission isn't creating the task post in my subreddit.

Thanks in advance to anyone willing to take a look or point me in the right direction! 🙏


r/redditdev • • Oct 12 '26

Reddit API API key ?

0 Upvotes

I need an API key from Reddit, is there any way possible I can get one? I need one to use with Reveddit, I need to get some deleted post back. If anyone could help me I would appreciate it.


r/redditdev • • Oct 10 '26

Reddit API Personal Scripts

7 Upvotes

I made a script as a personal CS project using praw which would autopost onto several reddits. That no longer works, it seems in the past few days. I am reading the subreddit and it looks like basically the API has been shut off and you have to use devvit? It seems that devvit does not have a use case for my script, correct? so am I SOL?


r/redditdev • • Oct 09 '26

Reddit API Reddit API shutdown impact on tools like Arctic Shift, Bright Data, etc

40 Upvotes

Reddit says all tools that don’t have a commercial agreement will lose access. Does the likely include more established access options like Arctic Shift, Bright Data, Jeni AI, etc?

Not fully sure what “commercial agreement” means in this case but seems like at least some of these would have one in place.


r/redditdev • • Oct 10 '26

Reddit API Alternativa à API

0 Upvotes

Galera, joia?

Preciso acessar postagens e comentários de diferentes subreddits.
Já tive duas solicitações de acesso à API recusadas e tentei usar o Devvit, mas ele não parece atender ao que preciso.

Alguém sabe se existe alguma alternativa oficial pra conseguir esses dados?


r/redditdev • • Oct 10 '26

Reddit API Reddit API for posts content

0 Upvotes

Hi,

I am building an app that uses reddit post content. Is there an API I can use to get all content of a given post ?

Regards


r/redditdev • • Oct 09 '26

Reddit API Reddit API for posts content

3 Upvotes

Hi,

I am building an app that uses reddit post content. Is there an API I can use to get all content of a given post ?

Regards


r/redditdev • • Oct 09 '26

Reddit API Data Access Request form hides required Details of inquiry field - what is the correct approval route?

0 Upvotes

We are independent podcast creators at Ozer Labs. We want to request explicit approval for a one-time, low-volume API workflow to share our launch in relevant communities, subject to their rules. We are not using the API yet.

We filled in the official Data Access Request form under the commercial developer option. On submission it returns 'Details of inquiry: cannot be blank', but that field is hidden in the form, so we cannot fill it in through the normal interface.

What is the correct way to request approval now? Is there another official route, or a known fix for this form?


r/redditdev • • Oct 09 '26

Reddit API Developer API request form not submitting — seeking guidance for private off-platform financial sentiment app

0 Upvotes

I'm developing STREAK, a private Windows application that would analyze public r/wallstreetbets posts and comments for stock-market sentiment.

The application is for my personal brokerage account. It is not sold, monetized as software, or distributed to customers. Initially it would perform read-only analysis and simulated trading. Eventually, sentiment signals could inform automated trades in my personal account.

I am also requesting permission for limited external OpenAI inference-only sentiment classification, without model training.

I understand Reddit is moving applications to Devvit and that financial applications may be restricted.

I attempted to submit the official Developer Data Access Request multiple times. Each time, the form reloads, clears the email field, and produces no confirmation or ticket number. Emailing Reddit's API contact resulted in an automated referral back to the same form and this community.

Could someone clarify:

  1. Is there a working official route for submitting an off-platform developer request before the October 31 deadline?
  2. Would a private application used only for personal investing be categorized as commercial use?
  3. Is there any approved access arrangement for this use case, including inference-only external AI processing?

Project repository:
https://github.com/Jebusfreek666/STREAK-Reddit-Integration

I'm seeking explicit authorization before collecting data programmatically. I am not looking to bypass Reddit's access controls or developer policies.

Thank you.


r/redditdev • • Oct 08 '26

Reddit API Reddit API changes

27 Upvotes

So what happens to apps that use the Reddit Data API/Oauth outside the limited Devvit space?

Everyone’s getting thrown out?

I don’t get it. You can’t even register an app commercially to use it, no responses are given when submitting the forms.