Create a Subreddit and Submit a Post
Explore how to create a new subreddit with unique naming rules and submit posts to it using the Reddit API. Understand key concepts like 'thing' and 'fullname,' and learn to handle API responses and approval workflows for posts.
We'll cover the following...
We'll cover the following...
Define thing and fullname
Let’s discuss some terms before we start making API calls. In the context of the Reddit API, if a request or response object is one of the following mentioned in the table below, it is called a thing.
thing | Type prefix |
Comment | t1_ |
Account | t2_ |
Link | t3_ |
Message | t4_ |
Subreddit | t5_ |
Award | t6_ |
Each thing is given an ID of 6 characters with base 36. Reddit uses fullname to refer to the unique ID assigned to a thing, including its prefix, for example, t3_8dmv8z.
Create a subreddit
Subreddits ...