# Facebook JS API: Help reading and parsing user data

**URL:** <https://forum.kirupa.com/t/facebook-js-api-help-reading-and-parsing-user-data/329752>\
**Category:** web dev\
**Created:** [October 11, 2012, 6:27am UTC](https://forum.kirupa.com/t/facebook-js-api-help-reading-and-parsing-user-data/329752 "2012-10-11T06:27:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vsiege](https://avatars.discourse-cdn.com/v4/letter/v/db5fbb/32.png) [@vsiege](https://forum.kirupa.com/u/vsiege)\
**Post date:** [October 11, 2012, 6:27am UTC](https://forum.kirupa.com/t/facebook-js-api-help-reading-and-parsing-user-data/329752/1 "2012-10-11T06:27:16Z")

</div>

[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]

```auto
[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]
