- I used the Twitter, Instagram & Google Maps API'S.
- I used the Google Maps API to display some New School locations I frequent on a map along with a pop up label that appears when you click on the marker.
- I used the twitter API to do two things. Firstly to send out a tweet (one of a possible six within an array) every 20 seconds on my Twitter Feed and secondly to send out a bot generated reply everytime someone follows me on twitter.
- I used the Instagram API to grab the images from my instagram and post them onto an HTML page.
Twitter API
I used the Twitter API to perform 2 tasks:
- To send out one of six possible tweets every 20 seconds.
The Array with the selection of tweets, Math.random is used to randomize the order
- To send out a pre-generated message anytime my account was followed.
Which runs the follow function
Resulting in the bot reply upon recieving a new follower
Google Maps API
- I used the google maps API to generate a map with multiple markers.
- All locations are Newschool owned places that I frequent.
- I used geographical coordinates to accurately pinpoint the locations using http://www.latlong.net/.
The Locations are defined in the locations array along with the coordinates
The Infowindow is a label that appears when the marker is clicked. There's actually no discernible word limit but I chose to just add the Laocation name associated with the marker
Instagram API
I used the Instagram API to grab the images uploaded to my instagram account and then using jQuery append them to an unordered list in list form.
Daniel Shiffman - Node.js and Twitter API tutorial [https://www.youtube.com/watch?v=RF5_MPSNAtU&list=PLRqwX-V7Uu6atTSxoRiVnSuOn6JHnq2yV]




