问题
I'm using the code from HelloFacebookSample and for some reason FBLoginView crashes my app whenever it's clicked. I've copied most of the code verbatim, so I can't see why it's crashing. Does anyone have any experience with the Facebook SDK and can help me out? I will post code if needed.
Regards,
Mike
UPDATE: Here is a screenshot of my error.
回答1:
thanks for bringing this to our attention.
We found a bug on the server and believe we have addressed it. Please let us know if you continue to find cases which fail in this way.
回答2:
Someone found the answer on another thread. In the Facebook Developer centre, the app was set to Sandboxing mode which is what caused this error. Seems it wasn't a problem with the code after all.
回答3:
i have same issue, just set sandboxing (in facebook -> managed app->In yourapp) to false, and then it will work...
来源:https://stackoverflow.com/questions/16135087/facebook-sdk-3-5-cant-log-in-crashes-app