Check Who I am following via Twitter4j

android, java, twitter, twitter4j

Solution

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.

Problem

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. ```

Original source