Skip to content

Instantly share code, notes, and snippets.

@Mukesh1412
Mukesh1412 / follow-follower
Last active March 27, 2019 12:26
Twitter request and response for new round
#logic
step 1:
check whether the given screen_name is follower of authenticated user or not
step 2:
if he is a follower of authenticated user then make request to https://api.twitter.com/1.1/friendships/create.json to follow
otherwise skip the request to follow
#request
URL:https://api.twitter.com/1.1/friendships/create.json