Is There anyway to check if I am following a certain user on Twitter other than getting the whole list of people who I am following and then start comparing Ids?
What I know is getting the whole list of people I am following is done through this method:
getFriendsIDs(long cursor)
Returns an array of numeric IDs for every user the authenticating user is following.
You can use the showFriendship
method to see if one user is following another. Call that method, which returns a Relationship
object, which has methods to see if the two users specified are following each other.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With