I am attempting to retrieve a user's news feed using the JavaScript SDK. This works fine in the Test Console but as soon as I try it on my site it doesn't work.
FB.api('/me/home', 'get', function(response) { if (!response || response.error) { alert('Error occured'); } else { alert(response); }});
I understand that the alert will just return "[object]" but I'm just trying to get the API call working right now. Any help would be greatly appreciated