Error when changing or resetting FBProfilePictureView profileId
- by Jeff Schwartz
I have programmatically added an FBProfilePictureView object to a view. When initially logging in, the user's profile picture displays as expected when setting the profileId of the object within the FBLoginViewDelegate method loginViewFetchedUserInfo:user:. However, when logging off the following line of code produces an error:
profilePicture.profileId = nil;
The error thrown is:
[__NSCFNumber isEqualToString:]: unrecognized selector sent to instance
Note: This was only an issue after I incrementally upgraded the iOS SDK from 3.5 to 3.8.
If anyone has encountered this issue, please let me know. Thanks!