FBSDKShareErrorDomain
FBSDK_EXTER N NSString *const FBSDKShareErrorDomain;
Error codes from the SDK in the range 200-299 are reserved for this domain.
FBSDKShareConstants.h
NS_ENUM
The error code for when a sharing dialog is not available.
typedef NS_ENUM(NSInteger, FBSDKShareErrorCode) { /*! */ FBSDKShareReservedErrorCode = 200, /*! */ FBSDKShareOpenGraphErrorCode, /*! */ FBSDKShareDialogNotAvailableErrorCode, /*! */ FBSDKShareUnknownErrorCode, };
Use the canShare methods to check for this case before calling show.
FBSDKShareConstants.h
NS_ENUM(NSInteger, FBSDKShareErrorCode)
The error code for when a sharing dialog is not available.
typedef NS_ENUM(NSInteger, FBSDKShareErrorCode) { /*! */ FBSDKShareReservedErrorCode = 200, /*! */ FBSDKShareOpenGraphErrorCode, /*! */ FBSDKShareDialogNotAvailableErrorCode, /*! */ FBSDKShareUnknownErrorCode, };
Use the canShare methods to check for this case before calling show.
FBSDKShareConstants.h