I think you can do this with client (implicit) authentication . Check out the section at the end of the article.
, Instagram redirect_uri access_token url. :
http://your-redirect-uri#access_token=ACCESS-TOKEN
access_token URL-, . , .
, , uri, . , www.google.com uri, ,
http://www.google.com#access_token=ACCESS-TOKEN
. URI, .
WebView, , , shouldOverrideUrlLoading() ( WebViewClient):
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
if (url.startsWith("http://www.google.com") {
String accessToken = ...
return true;
}
return false;
}
, , , , , .