Version 1 : Code can be found here
Version 2 : Code can be found here
For the Mashup Final Project, I used d3 and p5 libraries to build a web page that can allow user to input country’s name to see the pictures selecting from the instagram. The pictures will randomly roaming over the screen and user can use mouse to zoom in the picture.
As official instagram can only get the api of ten users, I choose to use python to scrape instagram pictures searching by tags. The way I achieve this is to use selenium library of Python to make it open a chrome browser to scroll the page automatically, then getting the urls and inputting them into JSON file.