From ed8cfadad5a26e8ebd4e026abce7642757d23af2 Mon Sep 17 00:00:00 2001
From: lpw <812862340@qq.com>
Date: Sun, 28 Sep 2025 15:06:18 +0800
Subject: [PATCH] 提交版本 4.8.0
---
frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h | 123 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 123 insertions(+), 0 deletions(-)
diff --git a/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h b/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h
index 156f5dd..90bcd82 100644
--- a/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h
+++ b/frameworks/FBSDKCoreKit.xcframework/ios-arm64/FBSDKCoreKit.framework/Headers/FBSDKGraphRequest.h
@@ -63,6 +63,13 @@
/**
Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
@param graphPath the graph path (e.g., @"me").
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
+
+/**
+ Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
+ @param graphPath the graph path (e.g., @"me").
@param method the HTTP method. Empty String defaults to @"GET".
*/
- (instancetype)initWithGraphPath:(NSString *)graphPath
@@ -80,11 +87,31 @@
Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
@param graphPath the graph path (e.g., @"me").
@param parameters the optional parameters dictionary.
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+ parameters:(NSDictionary<NSString *, id> *)parameters
+useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
+
+/**
+ Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
+ @param graphPath the graph path (e.g., @"me").
+ @param parameters the optional parameters dictionary.
@param method the HTTP method. Empty String defaults to @"GET".
*/
- (instancetype)initWithGraphPath:(NSString *)graphPath
parameters:(NSDictionary<NSString *, id> *)parameters
HTTPMethod:(FBSDKHTTPMethod)method;
+
+/**
+ Initializes a new instance that use use `[FBSDKAccessToken currentAccessToken]`.
+ @param graphPath the graph path (e.g., @"me").
+ @param parameters the optional parameters dictionary.
+ @param method the HTTP method. Empty String defaults to @"GET".
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+ parameters:(NSDictionary<NSString *, id> *)parameters
+ HTTPMethod:(FBSDKHTTPMethod)method
+useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
/**
Initializes a new instance.
@@ -98,7 +125,40 @@
parameters:(NSDictionary<NSString *, id> *)parameters
tokenString:(nullable NSString *)tokenString
version:(nullable NSString *)version
+ HTTPMethod:(FBSDKHTTPMethod)method;
+
+/**
+ Initializes a new instance.
+ @param graphPath the graph path (e.g., @"me").
+ @param parameters the optional parameters dictionary.
+ @param tokenString the token string to use. Specifying nil will cause no token to be used.
+ @param version the optional Graph API version (e.g., @"v2.0"). nil defaults to `[FBSDKSettings graphAPIVersion]`.
+ @param method the HTTP method. Empty String defaults to @"GET".
+ @param forAppEvents a convenience flag indicating if the request is for sending app events.
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+ parameters:(NSDictionary<NSString *, id> *)parameters
+ tokenString:(nullable NSString *)tokenString
+ version:(nullable NSString *)version
HTTPMethod:(FBSDKHTTPMethod)method
+ forAppEvents:(BOOL)forAppEvents;
+
+/**
+ Initializes a new instance.
+ @param graphPath the graph path (e.g., @"me").
+ @param parameters the optional parameters dictionary.
+ @param tokenString the token string to use. Specifying nil will cause no token to be used.
+ @param version the optional Graph API version (e.g., @"v2.0"). nil defaults to `[FBSDKSettings graphAPIVersion]`.
+ @param method the HTTP method. Empty String defaults to @"GET".
+ @param forAppEvents a convenience flag indicating if the request is for sending app events.
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+ parameters:(NSDictionary<NSString *, id> *)parameters
+ tokenString:(nullable NSString *)tokenString
+ version:(nullable NSString *)version
+ HTTPMethod:(FBSDKHTTPMethod)method
+ forAppEvents:(BOOL)forAppEvents
+useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix
NS_DESIGNATED_INITIALIZER;
/**
@@ -115,6 +175,17 @@
Initializes a new instance.
@param graphPath the graph path (e.g., @"me").
@param parameters the optional parameters dictionary.
+ @param requestFlags flags that indicate how a graph request should be treated in various scenarios
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+ parameters:(nullable NSDictionary<NSString *, id> *)parameters
+ flags:(FBSDKGraphRequestFlags)requestFlags
+useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
+
+/**
+ Initializes a new instance.
+ @param graphPath the graph path (e.g., @"me").
+ @param parameters the optional parameters dictionary.
@param tokenString the token string to use. Specifying nil will cause no token to be used.
@param HTTPMethod the HTTP method. Empty String defaults to @"GET".
@param flags flags that indicate how a graph request should be treated in various scenarios
@@ -124,6 +195,54 @@
tokenString:(nullable NSString *)tokenString
HTTPMethod:(nullable NSString *)HTTPMethod
flags:(FBSDKGraphRequestFlags)flags;
+
+/**
+ Initializes a new instance.
+ @param graphPath the graph path (e.g., @"me").
+ @param parameters the optional parameters dictionary.
+ @param tokenString the token string to use. Specifying nil will cause no token to be used.
+ @param HTTPMethod the HTTP method. Empty String defaults to @"GET".
+ @param flags flags that indicate how a graph request should be treated in various scenarios
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+ parameters:(nullable NSDictionary<NSString *, id> *)parameters
+ tokenString:(nullable NSString *)tokenString
+ HTTPMethod:(nullable NSString *)HTTPMethod
+ flags:(FBSDKGraphRequestFlags)flags
+useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;;
+
+/**
+ Initializes a new instance.
+ @param graphPath the graph path (e.g., @"me").
+ @param parameters the optional parameters dictionary.
+ @param tokenString the token string to use. Specifying nil will cause no token to be used.
+ @param method the HTTP method. Empty String defaults to @"GET".
+ @param requestFlags flags that indicate how a graph request should be treated in various scenarios
+ @param forAppEvents a convenience flag indicating if the request is for sending app events.
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+ parameters:(nullable NSDictionary<NSString *, id> *)parameters
+ tokenString:(nullable NSString *)tokenString
+ HTTPMethod:(nullable NSString *)method
+ flags:(FBSDKGraphRequestFlags)requestFlags
+ forAppEvents:(BOOL)forAppEvents;
+
+/**
+ Initializes a new instance.
+ @param graphPath the graph path (e.g., @"me").
+ @param parameters the optional parameters dictionary.
+ @param tokenString the token string to use. Specifying nil will cause no token to be used.
+ @param method the HTTP method. Empty String defaults to @"GET".
+ @param requestFlags flags that indicate how a graph request should be treated in various scenarios
+ @param forAppEvents a convenience flag indicating if the request is for sending app events.
+ */
+- (instancetype)initWithGraphPath:(NSString *)graphPath
+ parameters:(nullable NSDictionary<NSString *, id> *)parameters
+ tokenString:(nullable NSString *)tokenString
+ HTTPMethod:(nullable NSString *)method
+ flags:(FBSDKGraphRequestFlags)requestFlags
+ forAppEvents:(BOOL)forAppEvents
+useAlternativeDefaultDomainPrefix:(BOOL)useAlternativeDefaultDomainPrefix;
/// The request parameters.
@property (nonatomic, copy) NSDictionary<NSString *, id> *parameters;
@@ -140,6 +259,10 @@
/// The Graph API version to use (e.g., "v2.0")
@property (nonatomic, readonly, copy) NSString *version;
+@property (nonatomic, readonly, assign) BOOL forAppEvents;
+
+@property (nonatomic, readonly, assign) BOOL useAlternativeDefaultDomainPrefix;
+
/**
If set, disables the automatic error recovery mechanism.
@param disable whether to disable the automatic error recovery mechanism
--
Gitblit v1.8.0