Your task is to create an instagram viewer.
- Documentation on getting JSON using jquery (http://api.jquery.com/jQuery.getJSON/)
- You should have a plugin installed in your browser to make browsing json prettier. For example, https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?hl=en
We are going to create an app that displays the most recent popular images.
- Create an instagram account
- Go to http://instagram.com/developer/endpoints/media/, and test out some of the endpoints in your browser. I recommend the '/popular' endpoint.
- Create an html page
- Include jquery in your page
- Create a javascript file (ex: main.js), and link it to your html page. If you need help, refer back to how you did it on Monday.
- Add some jquery that will fetch the most popular images from the instagram API. (note: Since this is a cross-domain request, you will need to use JSONP).
- Display the images you fetched from the server on your page.
We want to make it so you can search images by tag.
- Find the instagram API endpoint that lets you get recent pictures by tag.
- Add an textbox where you can type in the tag you want, and a button called "Search"
- Make it so when you click the search button, it displays the images for that tag.
Bonus: