Question

I'm trying to view all private lists of the authenticated user using linqtotwitter. However, this only shows one private List, even though there are another 18 on the list. It seems to have selected this one list at random as it sits half way up when viewing it on the Twitter website. My code is below:

var lists =
   (from list in ctx.List
    where list.Type == ListType.Ownerships &&
    list.ScreenName == "screenname" 
    select new ListDetails
    {
        Name = list.Name
    }).ToList();

return lists;
Was it helpful?

Solution

Just me being dim, I was using ApplicationOnlyAuthorizer when I should have been using SingleUserAuthorizer

ITwitterAuthorizer twitterAuthorizer = new SingleUserAuthorizer
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top