开发者

Tweetsharp - Getting lists for authenticated user

How can i get the lists for the authenticated user & th开发者_开发技巧e lists that user follows


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜