问题描述:

I am trying to integrate the latest facebook sdk in my iPhone app. I need to load a friends' list and then post to facebook.

Everything works fine on iPhone4 and on the simulator. On my iPhone3G with iOS 4.2.1 but without the FB app, I get a OAuth Exception and a "session expired" alert.

Note that the list gets loaded and I can continue but I keep getting this alert. I am also already deleting the token when I get this alert but it doesn't work.

Then when I try to post on facebook I get the same message and I am not able to do it ("The operation cannot be completed").

All this happens only when I test on iPhone 3G or simulator without FB app. On my 4S with facebook app everything works fine.

UPDATE: it works with the debugger on but it doesn't normally on the phone.

I am also getting this error: void SendDelegateMessage(NSInvocation*): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode

相关阅读:
Top