iOS SDK Version

Classes

The following classes are available globally.
  • A model for creating an app group.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKAppGroupContent:NSObject<NSCopying,NSObject,NSSecureCoding>
    Swift
    classAppGroupContent:NSObject,NSCopying,NSObjectProtocol,NSSecureCoding
  • A model for app invite.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKAppInviteContent:NSObject<NSCopying,NSObject,FBSDKSharingValidation,NSSecureCoding>
    Swift
    classAppInviteContent:NSObject,NSCopying,NSObjectProtocol,SharingValidation,NSSecureCoding
  • A container of arguments for a camera effect. An argument is a NSString identified by a NSString key.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKCameraEffectArguments:NSObject<NSCopying,NSObject,NSSecureCoding>
    Swift
    classCameraEffectArguments:NSObject,NSCopying,NSObjectProtocol,NSSecureCoding
  • A container of textures for a camera effect. A texture for a camera effect is an UIImages identified by a NSString key.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKCameraEffectTextures:NSObject<NSCopying,NSObject,NSSecureCoding>
    Swift
    classCameraEffectTextures:NSObject,NSCopying,NSObjectProtocol,NSSecureCoding
  • A model for a game request.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKGameRequestContent:NSObject<NSCopying,NSObject,FBSDKSharingValidation,NSSecureCoding>
    Swift
    classGameRequestContent:NSObject,NSCopying,NSObjectProtocol,SharingValidation,NSSecureCoding
  • A dialog for sending game requests.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKGameRequestDialog:NSObject
    Swift
    classGameRequestDialog:NSObject
  • Undocumented
    See more

    Declaration

    Objective-C
    @interfaceFBSDKGameRequestURLProvider:NSObject+(NSURL*_Nullable)createDeepLinkURLWithQueryDictionary:(NSDictionary<NSString*,id>*_Nonnull)queryDictionary;+(NSString*_Nullable)filtersNameForFilters:(FBSDKGameRequestFilter)filters;+(NSString*_Nullable)actionTypeNameForActionType:(FBSDKGameRequestActionType)actionType;@end
    Swift
    classGameRequestURLProvider:NSObject
  • Represents a single hashtag that can be used with the share dialog.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKHashtag:NSObject<NSCopying,NSObject,NSSecureCoding>
    Swift
    classHashtag:NSObject,NSCopying,NSObjectProtocol,NSSecureCoding
  • A dialog for sharing content through Messenger.
    SUPPORTED SHARE TYPES
    • FBSDKShareLinkContent
    UNSUPPORTED SHARE TYPES (DEPRECATED AUGUST 2018)
    • FBSDKShareOpenGraphContent
    • FBSDKSharePhotoContent
    • FBSDKShareVideoContent
    • FBSDKShareMessengerOpenGraphMusicTemplateContent
    • FBSDKShareMessengerMediaTemplateContent
    • FBSDKShareMessengerGenericTemplateContent
    • Any other types that are not one of the four supported types listed above
    See more

    Declaration

    Objective-C
    @interfaceFBSDKMessageDialog:NSObject<FBSDKSharingDialog>
    Swift
    classMessageDialog:NSObject,SharingDialog
  • A button to send content through Messenger.
    Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot be shown, the button will be disable.

    Declaration

    Objective-C
    @interfaceFBSDKSendButton<FBSDKSharingButton>
    Swift
    classFBSendButton:SharingButton
  • A button to share content.
    Tapping the receiver will invoke the FBSDKShareDialog with the attached shareContent. If the dialog cannot be shown, the button will be disabled.

    Declaration

    Objective-C
    @interfaceFBSDKShareButton<FBSDKSharingButton>
    Swift
    classFBShareButton:SharingButton
  • A model for content to share with a Facebook camera effect.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKShareCameraEffectContent:NSObject<FBSDKSharingContent,FBSDKSharingScheme>
    Swift
    classShareCameraEffectContent:NSObject,SharingContent,SharingScheme
  • A dialog for sharing content on Facebook.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKShareDialog:NSObject<FBSDKSharingDialog>
    Swift
    classShareDialog:NSObject,SharingDialog
  • A model for status and link content to be shared.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKShareLinkContent:NSObject<FBSDKSharingContent>
    Swift
    classShareLinkContent:NSObject,SharingContent
  • A model for media content (photo or video) to be shared.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKShareMediaContent:NSObject<FBSDKSharingContent>
    Swift
    classShareMediaContent:NSObject,SharingContent
  • A photo for sharing.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKSharePhoto:NSObject<NSSecureCoding,NSCopying,NSObject,FBSDKShareMedia,FBSDKSharingValidation>
    Swift
    classSharePhoto:NSObject,NSSecureCoding,NSCopying,NSObjectProtocol,ShareMedia,SharingValidation
  • A model for photo content to be shared.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKSharePhotoContent:NSObject<FBSDKSharingContent>
    Swift
    classSharePhotoContent:NSObject,SharingContent
  • A video for sharing.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKShareVideo:NSObject<NSSecureCoding,NSCopying,NSObject,FBSDKShareMedia,FBSDKSharingValidation>
    Swift
    classShareVideo:NSObject,NSSecureCoding,NSCopying,NSObjectProtocol,ShareMedia,SharingValidation
  • A model for video content to be shared.
    See more

    Declaration

    Objective-C
    @interfaceFBSDKShareVideoContent:NSObject<FBSDKSharingContent>
    Swift
    classShareVideoContent:NSObject,SharingContent