| Steps to Reproduce: | Depends on an error response from the server, so not easily reproducible. The problem is evident from code inspection though. 1. Use the Facebook iOS Client Library to authenticate a user. 2. If the server sends an invalid response, which apparently can happen, this line in Facebook.m throws an exception: NSString* accessToken = [result objectForKey:@"access_token"]; |
|---|---|
| Expected Behavior: | It should check that the result is an NSDictionary before proceeding. |
| Actual Behavior: | Throws an exception: -[__NSCFString objectForKey:]: unrecognized selector sent to instance 0xf894580 Exception "NSInvalidArgumentException": -[__NSCFString objectForKey:]: unrecognized selector sent to instance 0xf894580 |
| API/SDK: | iOS SDK |
| App IDs: |
|