I am using the single auth so I can work on getting my queries down for my application
I am working on performing single user lookups in mvc4.
The entire query has no errors in visual studio till i run it. I scaffolded a default details view just to see what single details i get and how it works.
Basically when i user authenticates I want to get some of their details. I am trying to drill right in to the user object rather the status since i dont need any message stuff for this query.
I am getting a type parameter error
I tried using the examples to no avail.
twitterCtx = new TwitterContext(auth);
var TweetUserInfo = (from user in twitterCtx.User
select new TweetUser
ImageUrl = user.ProfileImageUrl,
UserId = user.UserID,
ScreenName = user.ScreenName,
Id = user.ID,
User = user.Identifier.UserID,
Identifier = user.Identifier.ID,
CreatedAt = user.CreatedAt
//var TweetUser = TweetUserInfo.ToList();
// var TweetUser = TweetUserInfo.SingleOrDefault();