Comments (11)
FWIW, I'm seeing this behavior if I attempt to use the "Continue with Facebook" option on the login screen. If I'm logging in with a username/password, it behaves as expected.
from swiftinstagram.
let api = Instagram.shared
// Login
api.login(from:self.navigationController!, withScopes: [.publicContent], success: {
// Do your stuff here ...
}, failure: { error in
print(error.localizedDescription)
})
This Is the code am using for login.
from swiftinstagram.
I am using the same code and it is working for me, are you redirected to different ViewController? if so, make sure that the desired viewController is also the root
from swiftinstagram.
Same @dineshguptha problem...
This issue appear without many reason while worked fine before and nothing change in my code...
from swiftinstagram.
Same problem on my side. I guess itβs related to changes that were done on Instagram API
from swiftinstagram.
hello, I am facing a similar issue: I have used the same code of Dinesh and just after tapping the save info button, I got the following page of the InstagramViewController. Anyway, the navigation controller does not pop the view controller and going back bring to the previous view controller without getting the success handler called
from swiftinstagram.
I just tested it and had no problem. Are you guys unchecking the "Disable implicit OAuth" option in the Instagram client? (https://github.com/AnderGoig/SwiftInstagram/wiki/Authentication#swiftinstagram-authentication)
from swiftinstagram.
@AnderGoig I have the same issue like @panchsheelmind
I really have no idea what I am doing wrong, but its simply loading instagram first screen...
"Disable implicit OAuth" is disabled, but I have no idea why I need redirect URI . I just put simply put https://thispic.io/ but no idea if it affects.
I entered in sdk and printed url, then opened in browser, and it redirected succesffully to:
http://www.thispic.io/#access_token=7276677373.b4ceae8.e33aa2d3e0d0451c83a8391896d93e71
which is fine, I think. But in app, its not working.
Any idea ?
Really appreciate your help.
from swiftinstagram.
Maybe this will help
from swiftinstagram.
Any update on this?
from swiftinstagram.
For some reasons, seems its not working ok.
Here is one case:
If IG found unsecure login, they will send you a code, you enter code corectly, and no callback back to app, only it loads www.instagram.com in that webView.
Anyway, @AnderGoig did a very great job here, but IG messed everything.
from swiftinstagram.
Related Issues (20)
- SwiftInstagram.InstagramError error 0 HOT 4
- Authentication fails HOT 2
- Value of type 'JSONDecoder' has no member 'keyDecodingStrategy' HOT 1
- Most endpoints have been immediately deprecated HOT 5
- JSON parser breaks when parsing ids of locations within photo tags HOT 3
- Value of type 'JSONDecoder' has no member 'keyDecodingStrategy' HOT 2
- InstagramLoginViewController does not deinit, stays in memory when closed
- Cannot login HOT 4
- Remember user
- End point retired HOT 1
- Error 1 when trying to receive Instagram followers HOT 1
- Getting nil while calling the login method. HOT 2
- Example Project does not log in successfully HOT 2
- Example Project
- error 3 bad request error. HOT 1
- Error 1- "This endpoint has been retired" error? HOT 1
- Is this api suitable for developing MacOS app ? HOT 1
- api.like error "retired" HOT 1
- Unable to make requests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftinstagram.