[Facebook Graph API - Android] I want to know the HTTPSConnection redirected to which URL?
- by Mohammad Abdelaziz
I am building an application that uses the Facebook Graph API.
To get the access token I should send the following request
https://graph.facebook.com/oauth/authorize?
client_id=...&
redirect_uri=http://www.example.com/callback
It redirects to the redirect_uri with the code to be used as access token.
How can I capture that the HttpsURLConnection is redirected and how to get the code?
Is it possible or I need to have server that gets the access token?