title: How to retrieve Facebook response using Facebook iOS SDK
body: <p>I am using the Facebook iOS SDK for iPhone. I initialize the Facebook instance</p>
  
  <pre><code>facebook = [[Facebook alloc] initWithAppId:kAppId];
  </code></pre>
  
  <p>And then I do login:</p>
  
  <pre><code>[facebook authorize:permissions delegate:self];
  </code></pre>
  
  <p>After I logged in to Facebook I am doing the following to get the user profile information:</p>
  
  <pre><code>[facebook requestWithGraphPath:@"me" andDelegate:self];
  NSMutableData *response = [fbRequest responseText];
  unsigned char *firstBuffer = [response mutableBytes];
  NSLog(@"Got Facebook Profile: : \"%s\"\n", (char *)firstBuffer);
  </code></pre>
  
  <p>But I get the following on my console:</p>
  
  <pre><code>Got Facebook Profile: "(null)"
  </code></pre>
  
  <p>What am I doing wrong, also I believe that Facebook response is a json string and I am looking to get a hold of that json string.</p>