TWEETSHARP - GETTING LISTS FOR AUTHENTICATED USER

Takeshi Okada

Total Post:89

Points:629
Posted by  Takeshi Okada
 1462  View(s)
Ratings:
Rate this:

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

  1. Sumit Kesarwani

    Post:378

    Points:2694
    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!