Skip to content

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

@fsvreddit

Description

@fsvreddit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions