Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Node.js Basics 2017 Building a Command Line Application Capturing Command Line Arguments

Shivangi Sriv
seal-mask
.a{fill-rule:evenodd;}techdegree
Shivangi Sriv
Full Stack JavaScript Techdegree Student 261 Points

Capturing command line arguments

Is it possible to get the instagram data of any user using the similar way?
I did the same thing i,e added json at the end of userName of instagram user , but it did not convert into json data.
How can i do it? Any help will be appreciated
Thanks :)

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Aakash Sriv! According to what I see in Instagram's documentation, it is only possible to get your own user data and you must have a valid access token. The key to using any API is its documentation. I highly encourage you to visit Instagram's API documentation.

Happy coding! :sparkles: