#import <FBSDKSharing.h>
The common interface for components that initiate sharing.
- See also
- FBSDKShareDialog
-
FBSDKMessageDialog
-
FBSDKShareAPI
| - (BOOL) validateWithError: |
|
(NSError **) |
errorRef |
|
Validates the content on the receiver.
- Parameters
-
| errorRef | If an error occurs, upon return contains an NSError object that describes the problem. |
- Returns
- YES if the content is valid, otherwise NO.
The receiver's delegate or nil if it doesn't have a delegate.
The content to be shared.
| - (BOOL) shouldFailOnDataError |
|
readwritenonatomicassign |
A Boolean value that indicates whether the receiver should fail if it finds an error with the share content. If NO, the sharer will still be displayed without the data that was mis-configured. For example, an invalid placeID specified on the shareContent would produce a data error.
The documentation for this protocol was generated from the following file: