This project has moved and is read-only. For the latest updates, please go here.

Find user relationship with specific users

Dec 2, 2011 at 4:08 PM


I am trying to use

  private static void FriendshipLookupDemo(TwitterContext twitterCtx)
            var relationships =
                (from look in twitterCtx.Friendship
                 where look.Type == FriendshipType.Lookup &&
                       look.ScreenName == "twitter,joemayo"
                 select look.Relationships)

            relationships.ForEach(rel => Console.WriteLine("Relationship to " + rel.ScreenName + " is " + rel.Connection));

I try to retieve data from many users with friendship type  (i follow, they follow me, i follow AND they follow me, none) but the rel.Connection returns only one status and the FollowedBy, Following are always false

I am doing something wrong ?



Dec 8, 2011 at 10:24 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.