View on GitHub

LinqToTwitter

LINQ Provider for the Twitter API (C# Twitter Library)

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