codepath / codepath/android-rest-client-template

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

Open
#74 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
327
Forks
169
PR merge metrics
No merged PRs in 30d

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 issue`Response body is incorrect. Can't extract token and secret from this: 'Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings'` .
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.