Versione iOS dell'SDK

FBSDKDefaultAudience

enumFBSDKDefaultAudience:NSUInteger{}
FBSDKDefaultAudience enum
Passed to openURL to indicate which default audience to use for sessions that post data to Facebook.
Certain operations such as publishing a status or publishing a photo require an audience. When the user grants an application permission to perform a publish operation, a default audience is selected as the publication ceiling for the application. This enumerated value allows the application to select which audience to ask the user to grant publish permission for.
  • Indicates that the user’s friends are able to see posts made by the application

    Declaration

    Objective-C
    FBSDKDefaultAudienceFriends=0
    Swift
    casefriends=0
  • Indicates that only the user is able to see posts made by the application

    Declaration

    Objective-C
    FBSDKDefaultAudienceOnlyMe
    Swift
    caseonlyMe=1
  • Indicates that all Facebook users are able to see posts made by the application

    Declaration

    Objective-C
    FBSDKDefaultAudienceEveryone
    Swift
    caseeveryone=2