Reputation: 303
I have a c# windows phone 8.1 application and I am able to do the login validation using this code:
user = await App.MobileService.LoginAsync(MobileServiceAuthenticationProvider.Twitter);
if (user.UserId != "")
message = "You are now signed in -" + user.UserId;
else
message = "You must log in. Login Required";
var dialog = new MessageDialog(message);
dialog.Commands.Add(new UICommand("OK"));
await dialog.ShowAsync();
I want to retrieve twitter feeds of this particular user. I tried using TwitterSharp API but it works only for windows phone 8 apps and not 8.1
Upvotes: 0
Views: 421
Reputation: 15006
Your question is way too broad, but there are some steps you can take to get the desired result.
It comes down to doing something like this:
var tweets = await (from tweet in twitterCtx.Status
where tweet.Type == StatusType.Home
select tweet).ToListAsync();
Upvotes: 1