
Untitled
By: a guest on
May 5th, 2012 | syntax:
None | size: 0.49 KB | hits: 12 | expires: Never
var object = {
"141584815857827": {
"id": "141584815857827",
"name": "Test Account",
"picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/hs622.ash1/27522_141584815857827_7750_s.jpg",
"link": "http://www.neustep.com/showcase.php?wwid=7083",
"category": "Company",
"fan_count": 3
}
}
for (key in object) {
var obj = object[key];
var id = obj.id;
// User obj/ id here. If there is more than one id the loop will happen more than once.
}