Closed khendrikse closed 6 years ago
That's a great idea thank you! Maybe instead of modify all examples we can add one more with the explanation you provided for the pr description?
That would also be a great idea! Thank you!
Met vriendelijke groet, Karin Hendrikse
2017-12-04 20:05 GMT+01:00 Léo Pradel notifications@github.com:
That's a great idea thank you! Maybe instead of modify all examples we can add one more with the explanation you provided for the pr description?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pradel/node-instagram/pull/25#issuecomment-349070263, or mute the thread https://github.com/notifications/unsubscribe-auth/AdKTE_qTvOD-_S6rT3yz-f02roUbEOFNks5s9EKKgaJpZM4QzX1K .
Do you want to update or create a new pr?
I thought it might be a good idea to explain in the examples that you can (and in my experience, have to, but I could be wrong) send the acces_token along as a parameter when you call an endpoint. When I first tried doing it as explained in the README I got stuck because it expected you to provide an access token when creating the
Instagram
instance. Yet, first you have to get an access_token from the user, and to get this, you already need to have an instance ofInstagram
so that you can callinstagram.getAuthorizationUrl
. Putting the access_token in the endpoint examples might help people understand this process better.