title: How to properly add "handleOpenURL" method on iPhone App Delegate
body: <p>I am pretty new to objective-c.
  I am working on a Video App. I am trying to connect my App with Facebook.
  I am trying to make the "Single Sign On" to work. The flow seems to be working fine:</p>
  
  <ol>
  <li>Facebook App is loaded.</li>
  <li>I press "Allow" or "Don't Allow" and my App is being put to foreground.</li>
  </ol>
  
  <p>But, for some reason I cannot make the "handleOpenURL" to work. I followed Facebook instructions and added this method to my class: AVCamViewController (this class is taken from the AVFoundation example App):</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {    
  NSLog(@"Facebook handleOpenURL");
  return [facebook handleOpenURL:url]; 
  </code></pre>
  
  <p>}</p>
  
  <p>The method is never called.
  I guess I am doing something wrong related with the App delegate.
  The problem, I don't know exactly what is App delegate and how can I access it?</p>
  
  <p>Can anyone help me to properly use the "handleOpenURL" in my App?</p>
  
  <p>Thanks,
  Guy</p>