Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[API] Post retrieval methods cannot retrieve information from "gated" subreddits

Open
#186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
api

Research direction

Start at the TypeScript entry point for context.reddit.getNewPosts and inspect how a 403 response from a gated subreddit is handled. Done means retrieval methods can access the posts after the interstitial warning is dismissed, with the behavior covered by an appropriate test.

Written by the indexing model from the issue text.

Description

reddit-api

These are subreddits that have an interstitial warning that you have to click through the first time you view the subreddit, mostly related to drugs, incest or similar.

const posts = await context.reddit.getNewPosts({
    subredditName: "cocainegonewild",
    limit: 100,
}).all();

This returns a 403 Forbidden result, along with the warning that would have been displayed to subreddit users. It would be great if the Devvit API could somehow "dismiss" the warning like a regular user could.

Dominant language
TypeScript
Stars
210
Forks
88
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from reddit/devvit

All issues in reddit/devvit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.