Quantcast
Channel: Reading feed using JavaScript SDK - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Reading feed using JavaScript SDK

$
0
0

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


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images