[Mashups+DWD Online] Week06: Midterm/Final Project

Instagram API + Google Map API + MongoDB

Since Instagram has changed their policy and sandbox users only can access recent 25 images, I decided to sort of a trick:
First, scrap metadata of other images than the recent 25 images from the network query data.
Second, store scrapped metadata into my MongoDB
Third, whenever I access my Mapsta, it accesses my MongoDB and retrieves images
Fourth, when I hit the refresh button on my Mapsta, it accesses Instagram API gets my recent 25 pictures, checks whether they are already in the DB or not, and if not, stores them.

Following is the final Mapsta:

The source code is available here

Leave a Reply

Your email address will not be published. Required fields are marked *