JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div id = 'twitterFeed'></div>
</body>
JavaScript
$(document).ready(function(){
$.ajax({
url: 'https://twitter.com/status/user_timeline/stephenfry?count=10&format=json',
dataType: 'jsonp',
success: function(dataWeGotViaJsonp){
var text = '';
var len = dataWeGotViaJsonp.length;
for(var i=0;i<len;i++){
twitterEntry = dataWeGotViaJsonp[i];
text += '<p><img src = "' + twitterEntry.user.profile_image_url_https +'"/>' + twitterEntry['text'] + '</p>'
}
$('#twitterFeed').html(text);
},
error: function(e){
$('#twitterFeed').html("No 'Access-Control-Allow-Origin' header is present on the requested resource.");
}
});
})