Retired

Instagram API (retired)

Description
Loading description...
Algorithms
JSON
Formats
  • Please sign in or sign up to leave a comment.
  • Voile Avatar

    Your loadData is mutable.

  • Voile Avatar

    Using outside API as kata material is not a good idea as they can change in any time, and the API might be available anymore in the future.

  • HerrWert Avatar

    Failing on the message "The response code should be 200". I'm new to using APIs with JavaScript, so I have no idea what I should do about that. It's not mentioned in the instructions, not mentioned on the linked Instagram developer page, and the documentation online seems to require the use of a check like httpRequest.status === 200, but I'm not sure how that fits into the structure of the callback function that I am writing here. Any suggestions?

    • HerrWert Avatar

      In the intervening two months, I have gained some valuable experience at CodePen in using APIs with JavaScript. But I still have no idea why I'm getting the error message "The response code should be 200" in this Codewars kata. How does my code pass like 12 times and then generate an error??? Any nudge in the right direction here would be greatly appreciated.

  • zvytas Avatar

    Way too easy to pass without actually calling any API.

  • DJTB Avatar

    My favourite thing about this kata is seeing which hashtag people decided to use for their solution :)

  • timp Avatar

    Does this require registering an Instagram account in order to obtain a valid access_token or client_id? Without it, I receive the following error:

    { meta: 
    { error_type: 'OAuthAccessTokenException',
    code: 400,
    error_message: 'The access_token provided is invalid.' } }
    
    { meta: 
    { error_type: 'OAuthParameterException',
    code: 400,
    error_message: 'The client_id provided is invalid and does not match a valid application.' } }