Page 4 of 4

Re: Change the follow limit

Posted: Mon Apr 22, 2024 7:20 pm
by Bri
I don't have a list, I will scrape one, and work from that, is that the best way, as of now?

Re: Change the follow limit

Posted: Mon Apr 22, 2024 9:09 pm
by martin@rootjazz
Bri wrote: Mon Apr 22, 2024 7:20 pm I don't have a list, I will scrape one, and work from that, is that the best way, as of now?
sorry I thought you were asking how to unfollow from a list.


Best way? Depends on your options.

Only from bot follows is probably the best way. Unfollow after 7 days. Dont' worry about followers. And there is no scraping.

The issue becomes if you do not want to unfollow followers. Because you need to perform a check if they are a follower or not.

two ways this can be done
user_endpoint has property is_follower.
That's one request per potential unfollow
scrape your followers. However if you have a lot of followers, this can take a long time. there is no perfect way.

Then the problem becomes if a list is prepared at point of scraping, what if the user is no longer a follower / is a follower at the point of following? The list will get old and potentially out of date.