View a feed of content from who you follow


#1

im getting back an error message that says: oops, something went wrong on our end. how can I move on to the next lesson

function viewMyFeed(){
var client = new Usergrid.Client({
//Intialize your client with the proper credentials
orgName:"albertomadueno",
appName:"sandbox"
});

//Replace "USERNAME" with the user you want to get a feed for!
client.getFeedForUser("mdobs", function(error, data, activities){
	for(var i = 0; i < activities.length; i++) {
        var activity = activities[i];
        //Use the .content property on the object to get the content data!
        var content = activity.content;
        $("#response").append("<li>"+content+"</li>");
	}
});

}