-
Notifications
You must be signed in to change notification settings - Fork 171
Description
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.