[英]C# Windows Phone 8.1 Twitter Authentication Page Not Changing
[英]c# Windows Phone 8.1 Twitter Feeds
我有ac#Windows Phone 8.1应用程序,可以使用以下代码进行登录验证:
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();
我想检索此特定用户的Twitter feed。 我尝试使用TwitterSharp API,但它仅适用于Windows Phone 8应用,不适用于8.1
您的问题过于笼统,但是您可以采取一些步骤来获得理想的结果。
归结为要做这样的事情:
var tweets = await (from tweet in twitterCtx.Status
where tweet.Type == StatusType.Home
select tweet).ToListAsync();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.