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 loadcallback
function, which will be called once data is returned, and fed with ajson
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 :)
- Build the
url
to load data from the Instagram API - Call
loadData
using thaturl
- Within the
callback
function, stores the number of Instagram pictures retrieved in the variablemediaTotal
Remember that this kata comes preloaded with the loadData
function (see above)!
Algorithms
JSON
Formats
Similar Kata:
Stats:
Created | Oct 12, 2015 |
Warriors Trained | 69 |
Total Skips | 1 |
Total Code Submissions | 307 |
Total Times Completed | 18 |
JavaScript Completions | 18 |
Total Stars | 3 |
% of votes with a positive feedback rating | 25% of 2 |
Total "Very Satisfied" Votes | 0 |
Total "Somewhat Satisfied" Votes | 1 |
Total "Not Satisfied" Votes | 1 |
Total Rank Assessments | 5 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 6 kyu |
Lowest Assessed Rank | 8 kyu |