JSFiddle - React, Tailwind, and code Playground

interesting jQuery http get then for each on each item you want to parse - twitter api example

by dledle2

HTML

<ul>loading...</ul>

JavaScript

var searchTerm = 'freekashmir',
    numOfTweets = 10,
    $ul = $('ul'),
    list='',
    url = 'http://aamirafridi.com/twitter/?q=' + searchTerm + '&count=' + numOfTweets;

$.get(url, function (data) {
    
    $.each(data.statuses, function () {
        list += '<li>'+ this.text +'</li>';
    });
    $ul.html(list);
});