Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var xhr = new XMLHttpRequest();
xhr.open('GET', /* 動的に生成したAPIのURL */, true);
xhr.responseType = 'json';
xhr.onload = function(e) {
/**
* Callback
* e.target.response.statuses にTweets情報が格納されている
*/
}
xhr.send();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.