Change the follow limit

Support / help / discussion forum for twitter bot
Bri
Posts: 536
Joined: Fri Nov 13, 2015 10:53 am

Re: Change the follow limit

Post by Bri »

I don't have a list, I will scrape one, and work from that, is that the best way, as of now?
User avatar
martin@rootjazz
Site Admin
Posts: 34762
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Change the follow limit

Post 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.
Post Reply