-
-
Save anonymous/f4d0b60dd9a1db66dd36 to your computer and use it in GitHub Desktop.
Playing around with user likes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var getLikingUsers=function(){ | |
$.getJSON("/activity/19554", | |
function(data,status,jh){ | |
var events=data["events"]; | |
for(var i=0; i<events.length; i++){ | |
if(events[i].liked_users.length>0) | |
console.log(events[i].liked_users); | |
}; | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment