neuecc / AsyncOAuth

Portable Client Library and HttpClient based OAuth library, including all platform(for PCL).
101 stars 39 forks source link

Windows Phone 8.1 Universal APP(windows store) status API not working #13

Closed nilayshah80 closed 10 years ago

nilayshah80 commented 10 years ago

I am developing for Windows phone 8.1 using universal apps Windows store. Able to get AccessToken after adding Portable library target to Windows phone 8.1 but status API not fetching any data and throw exception like "net_http_message_not_success_statuscode".

Code: var client = OAuthUtility.CreateOAuthClient(key, secret accessToken);

        var json = await client.GetStringAsync("http://api.twitter.com/1.1/statuses/home_timeline.json?count=" + 10 + "&page=" + 1);

Please help.

keiichiro1993 commented 10 years ago

http -> https This might help you...

nilayshah80 commented 10 years ago

aah silly mistake :)

Thanks for pointing out.