Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unfollow someone if they send STOP #14

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

fasiha
Copy link
Collaborator

@fasiha fasiha commented Aug 30, 2023

Fixes #11. This is a feature suggested by Ted Young: if someone replies STOP to us (whole word, exact case), and they don't follow us, we should stop following them so we stop sending them notifications.

This is an alternative to what we've been telling people: just block the bot.

Note that the bot does have a way to fetch all accounts its following and ensure they're following us back (and unfollow anyone who isn't following us any more) but we don't use this because we have thousands of followers and we'll run into server rate limits if we do this with any regularity.

There is a cost to this: every time we receive STOP, we hit the /relationships endpoint to see if they follow us/we follow them.

If we do wind up unfollowing, we send them a farewell DM to confirm.

image

Rationale: reduce false alarms triggered by people who are talking amongst
themselves in a thread where the bot is tagged.
1. Consider STOP only for DMs just to us in reply to us

2. Send a farewell DM

3. Save aggregate unfollow usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to stop being followed by PleaseCaption?
1 participant