Giter Site home page Giter Site logo

Comments (11)

emcphersonburke avatar emcphersonburke commented on May 18, 2024 1

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.

dineshguptha avatar dineshguptha commented on May 18, 2024

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.

MalkaBar avatar MalkaBar commented on May 18, 2024

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.

MapleNoise avatar MapleNoise commented on May 18, 2024

Same @dineshguptha problem...
This issue appear without many reason while worked fine before and nothing change in my code...

from swiftinstagram.

ranhsd avatar ranhsd commented on May 18, 2024

Same problem on my side. I guess it’s related to changes that were done on Instagram API

from swiftinstagram.

miniapps-ios avatar miniapps-ios commented on May 18, 2024

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
simulator screen shot - iphone se - 2018-07-19 at 18 24 13

from swiftinstagram.

AnderGoig avatar AnderGoig commented on May 18, 2024

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.

AndreiBoariu avatar AndreiBoariu commented on May 18, 2024

@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.

ArmyXomuiL avatar ArmyXomuiL commented on May 18, 2024

Maybe this will help

13

from swiftinstagram.

maakle avatar maakle commented on May 18, 2024

Any update on this?

from swiftinstagram.

AndreiBoariu avatar AndreiBoariu commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.