First dialog after authenticating fails immediately and closes dialog

前端 未结 6 1924
庸人自扰
庸人自扰 2020-11-30 06:40

I\'m using the latest Facebook SDK on iOS 5. I can use SSO to successfully authenticate the user, and then I attempt to share a link like this:

NSString *app         


        
6条回答
  •  攒了一身酷
    2020-11-30 07:18

    I traced it back as far as I think I can in dialog.m, which is line 414--dialog.m is sending the URLRequest for the dialog in a web view, but the web view is apparently getting an error back from Facebook's server.

    I tried calling my [facebook dialog:@"feed"...] code after a 10 second delay after authentication, no dice--same error.

    So then just for grins, I called my feed code from -dialog:didFailWithError... after checking to see if it was error -999. It works fine from that call. ????

提交回复
热议问题