title: Fetch data from fbsdk react native
body: <p>Hi I have implemented the Facebook login in my react native app. I have not used the standard button that comes with sdk. Everything work fine login is successful. But now I don't know how to extract data from Facebook user profile i.e name, email.</p>
  
  <p>Below is my code</p>
  
  <pre><code>_fbAuth() {
          LoginManager.logInWithReadPermissions(['public_profile']).then(function (result) {
              if (result.isCancelled) {
                  console.log('Login was Cancelled');
              } else {
  
                          const { navigate } = this.props.navigation;
  
                  //
                console.log('Login Successful' + result.grantedPermissions.toString());
  
  
  
              }
          }, function (error) {
              console.log('An error has occured' + error);
          })
      }
  </code></pre>
  
  <p>code for button</p>
  
  <pre><code>&lt;TouchableHighlight onPress={() =&gt; { this._fbAuth() }}&gt;
                              &lt;Image source={require('../images/facebook-logo.png')} style={styles.facebook}&gt;&lt;/Image&gt;
                          &lt;/TouchableHighlight&gt;
  </code></pre>