Skip to content

Post frequency

fact: rate_limit_posts will look at how many posts have been captured by your feed over a given period of time and take action based on the number. You can set a value of your choosing, which the rule will work off.

This rule makes use of the special rate_limit_posts fact, which counts how many posts have been captured either per feed or per author within a certain time frame (which can be defined as seconds, minutes, hours, days, weeks, months, years). You can then use this number to test if your rate limit exceeds a set amount (e.g. 2 posts) and take action if it does.

In the example below, posts will be rate limited i.e. the Auto Moderator will hide them if there have been more than 14 posts in the hour prior.

rules:
- name: Rate Limit posts in the feed
conditions:
all:
- fact: rate_limit_posts
params:
over: 1 hour
per: feed
operator: greaterThan
value: 14
event:
type: hide

In this example, you can see that the users fyodork.bsky.nz and blueskyfeedcreator.com are only allowed to post 2 posts per hour before the Auto Moderator will begin taking action by hiding excess posts.

You can continue to list authors like this and they will all be subject to the rule.

The rate limit count will apply to each user’s posts separately, so they are both allowed to post up to two times per hour.

rules:
- name: Rate Limit certain authors
conditions:
all:
- fact: post_author_handle
operator: in
value:
- blueskyfeedcreator.com
- fyodork.bsky.nz
- fact: rate_limit_posts
params:
over: 1 hour
per: author
operator: greaterThan
value: 2
event:
type: hide