Create Flairs and Collections
Understand how to create flairs and collections using the Python Reddit API Wrapper (PRAW).
We'll cover the following...
Create flairs
Users use flairs to tag posts to a particular subcategory, which allows other users to browse that subcategory. Flairs are like Twitter hashtags, but for Reddit. To create a flair, we use the add()
method of the SubredditLinkFlairTemplates
class. Once a flair gets added, we can add it to a post.
Here are some important parameters we'll use to call the method:
Parameter | Type | Category | Description |
| string | required | This is a string of random characters, used to authenticate a user |
| boolean | required | This allows Redditors to modify the flair text. By default the value is |
Click "Run" to add a new ... ...