windows 8 - I need to check whether user is authenticated or not by using linqtotwitter library in windows8 -


i need verify user authenticated or not his/her twitter account using linqtotwitter library.normally iam able login twitter account opening webview. not able find whether he/she authenticated. here code.

       var auth = new winrtauthorizer         {             credentials = new localdatacredentials             {                 consumerkey = constants.twitter_consumerkey,                 consumersecret = constants.twitter_consumersecret             },             usecompression = true,             callback = new uri("http://linqtotwitter.codeplex.com/")         };          if (auth == null || !auth.isauthorized)         {             await auth.authorizeasync();         }           twitterctx = new twittercontext(auth); 

i able twitter context iam not able find whether login succeed or not. once user succeed need open popup. please me how can this.

you can use account/verifycredentials, this:

        var accounts =             acct in twitterctx.account             acct.type == accounttype.verifycredentials             select acct; 

Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -