Find user relationship with specific users

Dec 2, 2011 at 3:08 PM

Hi,

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)
                .SingleOrDefault();

            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 ?

 

Thanks

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