-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Feature: Implement a function which returns the list of users whom you follow, but doesn't follow back. #119
Comments
I know how to implement this feature and have already implemented this locally. I would love to share the code here 💖💖 |
feel free to create a PR. the only worry I have is that if you're following a lot of users, it will use a lot of time and many requests (probably risking getting blocked) in order to create a full list. Maybe better to expose the generator. |
What do you mean by a generator? Pseudo code of the current algorithm that I implemented to solve this problem looks like this
This requires us to fetch both followers and following before hand, which means the code has to send multiple requests to fetch the data, if the number of followers / following is huge. One of the way to eliminate the issue of getting banned is by sending less requests to the server, i.e, there has to be some time delay in between fetching the lists of followers and following. I'll let you know if I found any way to work around this. |
I mean JS generators. You can see Line 545 in 28c7010
it returns the result of Line 504 in 28c7010
...which is a generator. meaning it will return batches of accounts instead of waiting for all to load. ( |
Feature recommendation
Implement a function which returns the list of users whom you follow, but doesn't follow back.
Pros of implementing this feature
The text was updated successfully, but these errors were encountered: