[COLOR=#333333]I’ve gotten the login to successfully work using the Facebook JS API. What I’m completely stuck on now is the ability to read (get) and parse specific data. I have tried looking through there documentation but have not found specifically what I’m looking for. Specifically I am requesting => read_stream.[/COLOR]
[COLOR=#333333]Does anyone know how to get this data and parse it? Please let me know if you need to see more code.
[/COLOR]
[LEFT]function login(){
alert( ' > login');
FB.login(function(response) {
if (response.authResponse) {
//console.log('Welcome! Fetching your information.... ');
alert(' > login > ' + 'Welcome! Fetching your information.... ');
FB.api('/me', function(response) {
//console.log('Good to see you, ' + response.name + '.');
alert(' > login > ' + 'Good to see you, ' + response.name + '.');
});
} else {
alert(' > login > ' + 'User cancelled login or did not fully authorize.');
//console.log('User cancelled login or did not fully authorize.');
}
}, {scope: 'read_stream'});
}
[/LEFT]
[COLOR=#333333]
[/COLOR]