subdan/grid-collage

Where to create the clientID?

rebeloper opened this issue · 3 comments

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.

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.

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

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