FBSDKDefaultAudience Constants Reference
Declared in | FBSDKLoginManager.h |
FBSDKDefaultAudience
@typedef FBSDKDefaultAudience enum
@abstract Passed to open to indicate which default audience to use for sessions that post data to Facebook.
@discussion 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.
Definition
typedef NS_ENUM(NSUInteger, FBSDKDefaultAudience ) {
FBSDKDefaultAudienceFriends = 0,
FBSDKDefaultAudienceOnlyMe,
FBSDKDefaultAudienceEveryone,
};
Constants
FBSDKDefaultAudienceFriends
-
Indicates that the user’s friends are able to see posts made by the application
Declared In
FBSDKLoginManager.h
. FBSDKDefaultAudienceOnlyMe
-
Indicates that only the user is able to see posts made by the application
Declared In
FBSDKLoginManager.h
. FBSDKDefaultAudienceEveryone
-
Indicates that all Facebook users are able to see posts made by the application
Declared In
FBSDKLoginManager.h
.
Declared In
FBSDKLoginManager.h