android-rest-client-template icon indicating copy to clipboard operation
android-rest-client-template copied to clipboard

Response body is incorrect, Can't extract token and secret from this:

Open techiesatish opened this issue 5 years ago • 0 comments

I have added the FALLBACK_URL = "https://codepath.github.io/android-rest-client-template/success.html" in my App setting of Twitter Developer console. I have also mentioned String REST_CALLBACK_URL_TEMPLATE = "intent://%s#Intent;action=android.intent.action.VIEW;scheme=%s;package=%s;S.browser_fallback_url=%s;end"; oauth //intent_scheme codepathtweets //intent_host in my code but I am getting this issueResponse body is incorrect. Can't extract token and secret from this: '<?xml version='1.0' encoding='UTF-8'?><errors><error code="415">Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings</error></errors>' . However I am getting authorisation successful in browser.

When I am replacing the value of REST_CALLBACK_URL_TEMPLATE to " " blank I am able to authorise the App and not getting any exception but unable to navigate to App.

techiesatish avatar Apr 21 '20 21:04 techiesatish