Can't connect to service(OAuth service)???

E.g on spotify

GET https://accounts.spotify.com/authorize/?client_id=5fe01282e44241328a84e7c5cc169165&response_type=code&redirect_uri=https%3A%2F%2Fexample.com%2Fcallback&scope=user-read-private%20user-read-email&state=34fFs29kd09

String SpotifyUrl = "https://accounts.spotify.com/authorize?client_id="+Uri.EscapeDataString("9ac2b............3")
+ "&response_type=code&redirect_uri="
 + Uri.EscapeDataString("http://localhost:8888/callback")
 +"&scope="+Uri.EscapeDataString("user-read-private user-read-email");
                Uri StartUri = new Uri(SpotifyUrl);
                Uri EndUri = new Uri("http://localhost:8888/callback");
#if WINDOWS_PHONE_APP
                WebAuthenticationBroker.AuthenticateAndContinue(StartUri, EndUri, null, WebAuthenticationOptions.None);
#else
                WebAuthenticationResult WebAuthenticationResult = await WebAuthenticationBroker.AuthenticateAsync(
                                                        WebAuthenticationOptions.None,
                                                        StartUri,
                                                        EndUri);
                if (WebAuthenticationResult.ResponseStatus == WebAuthenticationStatus.Success)
                {
                    OutputToken(WebAuthenticationResult.ResponseData.ToString());
                    await GetSpotifyUserNameAsync(WebAuthenticationResult.ResponseData.ToString());
                }

May 24th, 2015 9:25am

Hi Le Thien Hoang,

For questions about this third-party API, please go to its official support forum to get help.

Thank you for your understanding.

Free Windows Admin Tool Kit Click here and download it now
May 25th, 2015 3:39am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics