Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to create the clientID? #1

Closed
rebeloper opened this issue Nov 28, 2018 · 3 comments
Closed

Where to create the clientID? #1

rebeloper opened this issue Nov 28, 2018 · 3 comments

Comments

@rebeloper
Copy link

Hi,

Thanks for open sourcing your work. already learned a ton by looking at your code.
Could you specify where you created the "api_key"? Was it at:

https://www.instagram.com/developer/

I am new to the Instagram API. Any help is appreciated.

Thank you.

@subdan
Copy link
Owner

subdan commented Nov 28, 2018

Hi.

  1. Go to Manage Clients.
  2. Click Register a New Client
  3. Fill app data
  4. Click Register
  5. Go to Manage Clients.
  6. You will see here Client ID you are looking for.
  7. Click MANAGE
  8. Go to Security tab
  9. You need to specify Valid redirect URIs.
    I set as https://subdan.ru/oauth
    It should not be a real URL.
  10. Change redirect_uri and redirectHost inside InstagramURLBuilder.swift from my to your URL from step 9.

If you have any issues feel free to leave a comment.

@rebeloper
Copy link
Author

Wow, your reply was super fast. Thank you very much. Consider adding it to the README file too. Will go through the steps first thing in the morning

@rebeloper
Copy link
Author

As a final step I needed to uncheck "Disable implicit OAuth":
11. Uncheck "Disable implicit OAuth"
12. Click "Update Client"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants