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

Can't use my own client_id and client_secret #4

Open
billyhalim opened this issue Feb 20, 2016 · 1 comment
Open

Can't use my own client_id and client_secret #4

billyhalim opened this issue Feb 20, 2016 · 1 comment

Comments

@billyhalim
Copy link

I am walking through this tutorial. In the following code,

ig.use({
    client_id: 'e0e51c60672c4f09abe28c46c71a3a7a',
    client_secret: 'db11c575a8ae4f1aa90a03ba1d1345d8'
});

When I use my own client_id and client_secret, it appears an error when I accessed the site. The error is forEach is undefined. However, when I use the client_id and client_secret from the tutorial, it works well (like the code above). So, why can't I use my own client_id and client_secret ?

Thanks,
Billy

@billyhalim
Copy link
Author

I have found out the solution. We must use the access token if we want to use our own client_id and client_secret

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

1 participant