Login With Windows Phone

Sep 30, 2013 at 9:50 PM
Hi All !


I Have Managed to use oAuth for console or wpf applications but when it comes to windows phone my attempts are not successful.



I tried to test both of the Windows Phone Samples and added my Consumer Secret and my Consumer Key but then i get an error in the "OAuth.xaml" page . A long MessageBox appears with title "Error During LinqToTwitter processing , Please see errors at :


System.Net.WebException
System.Net.Browser.ClientHttpWebRequest.InternalGetResponse
System.Net.Browser.ClientHttpWbRequest
System.Net.Browser.AsyncHelper
System.Net.Browser.AsyncHelper.BeginOnUI
System.Net.Browser.ClientHttpWbRequest.EndGetResponse
LinqToTwitter.OAuthTwitter


i did not change anything in the sample code except adding my keys in the "OAuth.xaml.cs" page


Did I have to add TwitterAccessToken or what did I do wrong?


Thank you very much!
Coordinator
Oct 1, 2013 at 2:00 AM
Hi,

There's a WindowsPhoneDemo project in the downloadable source code you can try. Also, you might want to update the dll in the sample in case there's a problem caused by an earlier version. I still need to update samples.

@JoeMayo
Oct 1, 2013 at 10:18 AM
Edited Oct 1, 2013 at 11:19 AM
Hi,


I have used the sample in the source code section and it works if i use SingleUserAuthorizer instead of PinAuthorizer .


But I would like that my application can be used by any twitter user so how can i allow any user to connect ?