User.Following usage

Aug 28, 2014 at 9:02 PM
I am slightly confused about the .Following bool.

I am trying to check if another twitter user is following the account you are logged in with, but so far is looks like it is checking if you are following the other user.

Is there a way I could check if another user if following me?
Coordinator
Aug 29, 2014 at 12:30 AM
The following parameter is defined by the Twitter API, which has the behavior you described.

But you can get the relationship between 2 users as follow:
var currentUser = User.GetLoggedUser();
var user2 = User.GetUserFromScreenName("tweetinviapi");

var relationship = currentUser.GetRelationshipWith(user2);
Linvi
Marked as answer by ezraza on 8/28/2014 at 5:57 PM
Aug 29, 2014 at 1:57 AM
Thank you for the help.