title: com.facebook.sdk error 2 only on Ad Hoc Distribution
body: <p>We are using Facebook SDK 3.1 .  Deployment target is iOS5.1.  </p>
  
  <p>App runs fine in Debugging mode on both simulator and device (iPhone 5).  The user can post to his/her own wall.  But when the user tries to post using the Ad Hoc Distribution version, the error message - com.facebook.sdk error:2 pops up after clicking OK on App would like to post publicly on your behalf pop up window.</p>
  
  <p>The app bundle ID is set in the Facebook App page and matches that in the iPhone app.</p>
  
  <p>We request the publishing permission the first time and not the read permission first and then ask for reauthorization later.  Since it works fine on the simulator and the iPhone 5 when in Debugging mode, we would assume it should work in the Ad Hoc Distribution version.</p>
  
  <p>Did we miss something?  The error keeps on appearing.</p>
  
  <p>Any help is appreciated!</p>
  
  <p>aobs</p>