This project has moved. For the latest updates, please go here.

Showing Outgoing Requests

Show IDs of all users for whom the logged in user has requested friendship.

Entity: Friendship
Type: FriendshipType.Outgoing
Parameters/Filters:
Name Purpose Type Required
Cursor Separates results into pages long no


Return Type: User
v3.0 Example:
            var request =
                await
                (from req in twitterCtx.Friendship
                 where req.Type == FriendshipType.Outgoing
                 select req)
                .SingleOrDefaultAsync();

            if (request != null &&
                request.IDInfo != null &&
                request.IDInfo.IDs != null)
            {
                request.IDInfo.IDs.ForEach(req => Console.WriteLine(req));
            }
v2.1 Example:
            var request =
                (from req in twitterCtx.Friendship
                 where req.Type == FriendshipType.Outgoing
                 select req)
                 .FirstOrDefault();

            request.IDInfo.IDs.ForEach(req => Console.WriteLine(req));

Twitter API: friendships/outgoing

Last edited Nov 29, 2013 at 3:43 AM by JoeMayo, version 7