Created
July 17, 2015 21:10
-
-
Save caitlinhall/590084b9d5ad808433c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This Ajax call helps you authenticate your website with the Instagram API. | |
$.ajax({ | |
type: 'GET', | |
url: 'https://api.instagram.com/v1/users/' + userid + '/?access_token=' + myToken, | |
dataType: 'jsonp', | |
success: function(json) { | |
createProfile(json); | |
}, | |
error: function(error) { | |
console.log(error); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment