JSFiddle - React, Tailwind, and code Playground

HTML

<!-- 
Stackoverflow Answer by arttronics for SO Question: http://stackoverflow.com/q/8902635/1195891
-->

JavaScript

// The YQL Statement used below is shown next, starting with the word SELECT:
//
// SELECT retweeted FROM json WHERE url="https://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=true&screen_name=philiprucker&count=1"
//
// View the above YQL Statement using Yahoo Console at: http://y.ahoo.it/j44Xq
//
// The variable 'q' below is the Yahoo Rest Query. That is provided after creating the above Yahoo Statement.
// It's provided at the bottom of that web page.

var q = 'http://query.yahooapis.com/v1/public/yql?q=SELECT%20retweeted%20FROM%20json%20WHERE%20url%3D%22https%3A%2F%2Fapi.twitter.com%2F1%2Fstatuses%2Fuser_timeline.json%3Finclude_entities%3Dtrue%26include_rts%3Dtrue%26screen_name%3Dphiliprucker%26count%3D1%22&format=json';

// Use simple jQuery .ajax along with the above YQL Rest Statement.
// The benefit of YQL rest statement is we can select the desired node, in this case "retweeted" 
$.ajax({
    url: q,
    dataType: "json",
    success: function(data) {
        
        // Enable to show the jQuery data Object received in the browsers console.
        //console.log(data);
        
        // If we have data, continue.
        if (data) {
            
            // Display retweeted value of 'true' or 'false' via browser alert.
            alert('The retweeted status is: ' +  data.query.results.json.retweeted );
        
        }

    }
});