Skip to content

Instantly share code, notes, and snippets.

Created February 3, 2016 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f4d0b60dd9a1db66dd36 to your computer and use it in GitHub Desktop.
Save anonymous/f4d0b60dd9a1db66dd36 to your computer and use it in GitHub Desktop.
Playing around with user likes
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