Retired

Instagram API (retired)

Description:

This kata comes preloaded with a loadData function, which takes in the following parameters:

  • url a string representing the address of the data you want to load
  • callback function, which will be called once data is returned, and fed with a json file
loadData(url, callback)

function callback (json)
{
  // your code will manipulate json
}

Your tasks

Use the Instagram API to get recently tagged media, for a hashtag of your choice. See the Instagram API manual.

Tip: you can swap access_token with client_id to bypass authentication :)

  1. Build the url to load data from the Instagram API
  2. Call loadData using that url
  3. Within the callback function, stores the number of Instagram pictures retrieved in the variable mediaTotal

Remember that this kata comes preloaded with the loadData function (see above)!

Algorithms
JSON
Formats

Similar Kata:

Stats:

CreatedOct 12, 2015
Warriors Trained69
Total Skips1
Total Code Submissions307
Total Times Completed18
JavaScript Completions18
Total Stars3
% of votes with a positive feedback rating25% of 2
Total "Very Satisfied" Votes0
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes1
Total Rank Assessments5
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • matteomenapace Avatar
Ad