Create Flairs with snoowrap

Understand how to create flairs using the JavaScript Reddit API Wrapper.

Create flairs

Flair is used as a tag for a post or to tag a Reddit user, which allows other users to browse that particular post or a user in the community with the help of that flair. The flair can be created by the moderator or by the user if the moderator allows its users. To create a flair for a user, we'll use the assignFlair() method of the getUser method. We’ll also use the the text parameters because we didn't have any available flair that we could use.

Once a flair gets created, it will be reflected on the subreddit with the flair username. If anyone wants to tag the user, it can be tagged with its flair.

Get hands-on with 1200+ tech skills courses.