[GH-ISSUE #52] Almost! Crashing on Instagram with latest build. #32

Closed
opened 2026-03-03 16:44:58 +03:00 by kerem · 3 comments
Owner

Originally created by @ejpusa-zz on GitHub (Apr 14, 2015).
Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/52

  1. DL latest build
  2. Set up Podfile
  3. Add my ID, and secret key. That's it. Pretty simple.
  4. Run Demo

OAuth verification on mobile is not easy, that we know.

Kaboom! What the heck is going on. I'm confused a bit by this one. There is nothing optional here. Error does not show up at compile time. Only at run time. So close! Thanks.

screen shot 2015-04-13 at 8 33 48 pm

Originally created by @ejpusa-zz on GitHub (Apr 14, 2015). Original GitHub issue: https://github.com/OAuthSwift/OAuthSwift/issues/52 1. DL latest build 2. Set up Podfile 3. Add my ID, and secret key. That's it. Pretty simple. 4. Run Demo OAuth verification on mobile is not easy, that we know. Kaboom! What the heck is going on. I'm confused a bit by this one. There is nothing optional here. Error does not show up at compile time. Only at run time. So close! Thanks. ![screen shot 2015-04-13 at 8 33 48 pm](https://cloud.githubusercontent.com/assets/1279819/7128173/96600d1c-e21c-11e4-882e-ff76e0d08eea.png)
kerem closed this issue 2026-03-03 16:44:58 +03:00
Author
Owner

@ejpusa-zz commented on GitHub (Apr 14, 2015):

Ok, started from scratch, worked.

<!-- gh-comment-id:92685260 --> @ejpusa-zz commented on GitHub (Apr 14, 2015): Ok, started from scratch, worked.
Author
Owner

@gabriel-jones commented on GitHub (Apr 14, 2015):

Instagram["consumerKey"] instead of Instagram[4612379641789] would've worked since Instagram[] is a dictionary holding your keys. See constants.swift for your keys.

<!-- gh-comment-id:92795414 --> @gabriel-jones commented on GitHub (Apr 14, 2015): `Instagram["consumerKey"]` instead of `Instagram[4612379641789]` would've worked since `Instagram[]` is a dictionary holding your keys. See `constants.swift` for your keys.
Author
Owner

@ejpusa-zz commented on GitHub (Apr 14, 2015):

Got it thanks. Yes, missed the constants.swift file. Guess what threw me was the error message. thanks :-)

<!-- gh-comment-id:93094992 --> @ejpusa-zz commented on GitHub (Apr 14, 2015): Got it thanks. Yes, missed the constants.swift file. Guess what threw me was the error message. thanks :-)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/OAuthSwift#32
No description provided.