devvit
devvit copied to clipboard
Reddit for Developers
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. ```ts const...
The TXClientLike type implements nearly all of Reddit's Redis functionality, but hSetNX is missing.
By default, it appears that app accounts are created with the "Show NSFW Content" setting set to false. this is the equivalent of this on the website:  This setting...
The reddit client imported from @devvit/web/server does not expose the getCurrentSubredditName() method, which is documented as available on the RedditAPIClient in the public API. This limits efficient access to the...
User.nsfw always return false , even for nsfw profiles
**Problem** Forms are useful for gathering consent things like confirmation dialog flows. For respect of the user's privacy, I want to make it clear they need to agree to a...
Devvit provides a way to get user social links by way of the `getSocialLinks` method on the `User` object. But most of the time I need to grab a user's...
please read the devvit discord surrounding this message https://discord.com/channels/1050224141732687912/1050227353311248404/1432419037349941368 but the options of https://developers.reddit.com/docs/api/redditapi/RedditAPIClient/classes/RedditAPIClient#crosspost and https://developers.reddit.com/docs/api/redditapi/models/classes/Post#crosspost are missing the common post submit properties. also i cant assign labels.
https://github.com/reddit/devvit/blob/3db7956308a5a36069aa25ade17e97088770170e/packages/reddit/src/plugin.ts#L30-L81 Please export the relevant methods located in `@devvit/reddit/plugin.ts` to get the lower level API functions for use within a Devvit Web app. Marking them as internal and not exporting...