vinitshahdeo/Quotter

Auto follower [Follow for Follow]

vinitshahdeo opened this issue ยท 6 comments

Add a feature to automatically follow any users that follow @Quotter

Please refer Twitter API

Note - Make only required changes and ensure that the existing functionality of code shouldn't break.

I will work on this!

@kousiksatish Yes, please go ahead!

@vinitshahdeo Is it possible to do this using basic Twitter API. I am reading that twitter officially doesn't allow automated following / bulk following.
https://follows.com/blog/2016/10/follow-twitter-back-automatically

@vinitshahdeo Should we

  1. use account activity API to subscribe to follow event webhooks and perform the follow back
    OR
  2. Execute a function in regular frequency to follow back users who have newly followed us.

I have implemented a basic function for the second approach. This function will check followers and people who we are following and follow back someone whom we are not following already.

There are few tasks left to implement in this function

  • Check cases of no friends, no followers
  • Check flags like user.following and user.follow_request_sent to check status of whether follow was successful
  • Check cases where follow requires approval
  • Check efficient ways to handle all errors that can occur during follow post call
  • Twitter has "400 per user; 1000 per app" limitation per user. Need to review response message in this case