Get the Facebook App ID used by the SDK. If not explicitly set, the default will be read from the application's plist (FacebookAppID).
| + (NSString *) appURLSchemeSuffix |
|
|
|
Get the default url scheme suffix used for sessions. If not explicitly set, the default will be read from the application's plist (FacebookUrlSchemeSuffix).
| + (NSString *) clientToken |
|
|
|
Retrieve the Client Token that has been set via [FBSDKSettings setClientToken]. If not explicitly set, the default will be read from the application's plist (FacebookClientToken).
| + (void) disableLoggingBehavior: |
|
(NSString *) |
loggingBehavior |
|
Disable a particular Facebook SDK logging behavior.
- Parameters
-
| loggingBehavior | The LoggingBehavior to disable. This should be a string defined as a constant with FBSDKLoggingBehavior*. |
| + (NSString *) displayName |
|
|
|
Get the Facebook Display Name used by the SDK. If not explicitly set, the default will be read from the application's plist (FacebookDisplayName).
| + (void) enableLoggingBehavior: |
|
(NSString *) |
loggingBehavior |
|
Enable a particular Facebook SDK logging behavior.
- Parameters
-
| loggingBehavior | The LoggingBehavior to enable. This should be a string defined as a constant with FBSDKLoggingBehavior*. |
| + (NSString *) facebookDomainPart |
|
|
|
Get the Facebook domain part. If not explicitly set, the default will be read from the application's plist (FacebookDomainPart).
| + (CGFloat) JPEGCompressionQuality |
|
|
|
The quality of JPEG images sent to Facebook from the SDK. If not explicitly set, the default is 0.9.
- See also
- UIImageJPEGRepresentation
| + (NSString *) legacyUserDefaultTokenInformationKeyName |
|
|
|
Get the user defaults key used by legacy token caches.
| + (BOOL) limitEventAndDataUsage |
|
|
|
Gets whether data such as that generated through FBSDKAppEvents and sent to Facebook should be restricted from being used for other than analytics and conversions. Defaults to NO. This value is stored on the device and persists across app launches.
| + (NSSet *) loggingBehavior |
|
|
|
Retrieve the current Facebook SDK logging behavior.
| + (NSString *) sdkVersion |
|
|
|
Retrieve the current iOS SDK version.
| + (void) setAppID: |
|
(NSString *) |
appID |
|
Set the Facebook App ID to be used by the SDK.
- Parameters
-
| appID | The Facebook App ID to be used by the SDK. |
| + (void) setAppURLSchemeSuffix: |
|
(NSString *) |
appURLSchemeSuffix |
|
Set the app url scheme suffix used by the SDK.
- Parameters
-
| appURLSchemeSuffix | The url scheme suffix to be used by the SDK. |
| + (void) setClientToken: |
|
(NSString *) |
clientToken |
|
Sets the Client Token for the Facebook App. This is needed for certain API calls when made anonymously, without a user-based access token.
- Parameters
-
| clientToken | The Facebook App's "client token", which, for a given appid can be found in the Security section of the Advanced tab of the Facebook App settings found at <https://developers.facebook.com/apps/[your-app-id]> |
| + (void) setDisplayName: |
|
(NSString *) |
displayName |
|
Set the default Facebook Display Name to be used by the SDK. This should match the Display Name that has been set for the app with the corresponding Facebook App ID, in the Facebook App Dashboard.
- Parameters
-
| displayName | The Facebook Display Name to be used by the SDK. |
| + (void) setFacebookDomainPart: |
|
(NSString *) |
facebookDomainPart |
|
Set the subpart of the Facebook domain. This can be used to change the Facebook domain (e.g. "beta") so that requests will be sent to graph.beta.facebook.com
- Parameters
-
| facebookDomainPart | The domain part to be inserted into facebook.com. |
| + (void) setGraphErrorRecoveryDisabled: |
|
(BOOL) |
disableGraphErrorRecovery |
|
A convenient way to toggle error recovery for all FBSDKGraphRequest instances created after this is set.
- Parameters
-
| disableGraphErrorRecovery | YES or NO. |
| + (void) setJPEGCompressionQuality: |
|
(CGFloat) |
JPEGCompressionQuality |
|
Set the quality of JPEG images sent to Facebook from the SDK.
- Parameters
-
| JPEGCompressionQuality | The quality for JPEG images, expressed as a value from 0.0 to 1.0. |
- See also
- UIImageJPEGRepresentation
| + (void) setLegacyUserDefaultTokenInformationKeyName: |
|
(NSString *) |
tokenInformationKeyName |
|
Set the user defaults key used by legacy token caches.
- Parameters
-
| tokenInformationKeyName | the key used by legacy token caches. |
Use this only if you customized FBSessionTokenCachingStrategy in v3.x of the Facebook SDK for iOS.
| + (void) setLimitEventAndDataUsage: |
|
(BOOL) |
limitEventAndDataUsage |
|
Sets whether data such as that generated through FBSDKAppEvents and sent to Facebook should be restricted from being used for other than analytics and conversions. Defaults to NO. This value is stored on the device and persists across app launches.
- Parameters
-
| limitEventAndDataUsage | The desired value. |
| + (void) setLoggingBehavior: |
|
(NSSet *) |
loggingBehavior |
|
Set the current Facebook SDK logging behavior. This should consist of strings defined as constants with FBSDKLoggingBehavior*.
- Parameters
-
| loggingBehavior | A set of strings indicating what information should be logged. If nil is provided, the logging behavior is reset to the default set of enabled behaviors. Set to an empty set in order to disable all logging. |
You can also define this via an array in your app plist with key "FacebookLoggingBehavior" or add and remove individual values via enableLoggingBehavior: or disableLogginBehavior:
The documentation for this class was generated from the following file: