Skip to content

Instantly share code, notes, and snippets.

@amy
Created December 7, 2014 03:51
Show Gist options
  • Select an option

  • Save amy/d40b52456cee47b1477f to your computer and use it in GitHub Desktop.

Select an option

Save amy/d40b52456cee47b1477f to your computer and use it in GitHub Desktop.
assdasd
$(function () {
tweets = {
"statuses": [
{
"metadata": {
"iso_language_code": "en",
"result_type": "recent"
},
"created_at": "Fri Dec 05 18:53:52 +0000 2014",
"id": 540942146527068160,
"id_str": "540942146527068160",
"text": "Giants player Travis Ishikawa came to the studios today #Giants #baseball \u26be\ufe0f\ud83c\udf09#worldseries\u2026 http:\/\/t.co\/gcZRVrJ9rI",
"user": {
"id": 22411331,
"id_str": "22411331",
"name": "Paulette Martin",
"screen_name": "Pauletita",
"location": "New York",
"profile_location": null,
"description": "Producer @Telemundo48 Run, food and travel enthusiast. Born in Jalisco, MX, raised in SoCal. Views expressed are my own.",
},
"coordinates": {
"type": "Point",
"coordinates": [
-73.973537, 40.763988
]
},
},
};
console.log(tweets);
var count = 0; $(tweets.statuses).each(function (key, value) { count++; console.log(count); console.log(this.coordinates.coordinates[0], this.coordinates.coordinates[1]); });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment