Tweetsharp - Getting lists for authenticated user

Total Post:89

 1600  View(s)
Rate this:

How can i get the lists for the authenticated user & the lists that user follows

  1. Post:378

    Re: Tweetsharp - Getting lists for authenticated user

    Hi Takeshi,

    This should work:

        var service = new TwitterService();
        service.AuthenticateWith(<your consumerKey>, <your consumerSecret>, <your token>, <your tokensecret>);
        var listsUsersLists = service.ListListsFor(listOwnerScreenName);
        var listsUserIsIn = service.ListListMembershipsFor(listOwnerScreenName);
        var subscribedToLists = service.ListListSubscriptionsFor(subscriberName);

    As long as the authenticated username is the same as the name of the lists you are trying to return, private lists will be included too.

      Modified On Mar-31-2018 12:32:49 AM