Closed technotip closed 8 years ago
Same here. When I run the $cordovaOauth.twitter(... call all I get is a log in console that says "log". Completely blind about this, need some help.
@technotip you cannot use 127.0.0.1, it must be localhost or you must override the url in an optional parameter.
I've tested Twitter recently and it works fine. If you'd like support please refer to this:
@nraboy, I've even used localhost. In both cases the redirected page gets stuck for some seconds ..! Please see the screenshot I've attached with this message.
For the callback issue... I used a tinyurl instead, is working now.
I tried this with a tinyurl, and without (I'm also using firebase in the same app), and the error page shows up for a second, before returning the response and proceeding as normal. Not necessarily a problem, but some of my users might wonder what that is.
My $ bower list
:
├─┬ angular-animate#1.5.3 (latest is 1.5.9-build.4996+sha.e50e91c) │ └── angular#1.5.3 (latest is 1.5.9-build.4996+sha.e50e91c) ├─┬ angular-sanitize#1.5.3 (latest is 1.5.9-build.4996+sha.e50e91c) │ └── angular#1.5.3 ├─┬ angular-ui-router#0.2.13 (latest is 1.0.0-beta.1) │ └── angular#1.5.3 (1.5.9-build.4996+sha.e50e91c available) ├─┬ angularfire#2.0.1 │ ├── angular#1.5.3 (1.5.9-build.4996+sha.e50e91c available) │ └── firebase#3.2.1 (3.3.0 available) ├── hello#1.13.4 extraneous ├── ionic not installed ├── jsSHA#1.6.0 (latest is 2.2.0) ├── ng-cordova-oauth#0.2.10 ├─┬ ngCordova#0.1.27-alpha │ └── angular#1.5.3 (1.5.9-build.4996+sha.e50e91c available) └── platform.js#1.3.1
If I should include any other information, please let me know.
Same problem here. "Webpage not available" is shown a few seconds before is closed and application continues.
Ok, just use any online uri as "redirect_uri" option to avoid the message...
I added my firebase URL as the redirect_uri
option and that worked. Now I don't have localhost/callback
in either my twitter app or in my ionic app itself, though. The docs mentioned that that is essential. Will test further to see if there are any problems
I added my firebase URL as the redirect_uri but getting similar error page.
Anyone else faced similar issue ?
Twitter doesn't take http://localhost/callback as its callback URL.
I used http://127.0.0.1/callback but still it's not working. When it redirects, it shows error on my IONIC app.