SwiftyInsta: Login failure using webview

I’m receiving the following error message on try? result.get() using instagramcontroller, any idea why @TheM4hd1 ?

"https://i.instagram.com/api/v1/accounts/current_user/.\nInvalid response.\nProcessing handler returned `nil`.\n403"

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 28 (7 by maintainers)

Most upvoted comments

@sbertix the error is custom(“https://i.instagram.com/api/v1/accounts/current_user/.\nInvalid response.\nProcessing handler returned nil.\n403”)

I tried it on iOS 12.0, iPhone 7, Simulator and iOS 13.3, iPhone XS, Real Device both worked well, I don’t see a problem. I just tried hard coded user agent in LoginWebView', and left everything as default` make sure to clean build the project and build again if you used hard coded changes.