NS_ENUM
The error code for when a sharing dialog is not available.
typedef NS_ENUM(NSInteger, FBSDKShareErrorCode) { FBSDKShareReservedErrorCode = 200, FBSDKShareOpenGraphErrorCode, FBSDKShareDialogNotAvailableErrorCode, };
Use the canShare methods to check for this case before calling show.
FBSDKShareConstants.h