We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
2020.3.3f1
17.0.0
[iOS]
15.4.1
Facebook limit login successful
[FB_SDK] OnLimitFbLogin
[FB_SDK] FB.IsLoggedIn : False AttStatus: false FB_SDK] OnLimitFbLogin RawResult: {"callback_id":"2","cancelled":"true"} Cancelled: False Error: IsLoggedIn: False AuthenticationToken:
Using basic sample programs
public static void OnLimitFbLogin(Action<string> onFbLoginSucceed = null, Action<bool, string> onFbLoginFailed = null) { FB.Mobile.LoginWithTrackingPreference(LoginTracking.LIMITED, FacebookPermissions, null, (result) => { if (result == null) { onFbLoginFailed?.Invoke(false, "登录失败,获取参数失败,请重试!"); return; } if (string.IsNullOrEmpty(result.Error) && FB.IsLoggedIn) { AuthenticationToken authenticationToken = result.AuthenticationToken; if (!string.IsNullOrEmpty(userId) && authenticationToken != null) { var resultJson = Facebook.MiniJSON.Json.Serialize(resulInfo); onFbLoginSucceed?.Invoke(resultJson); } else { onFbLoginFailed?.Invoke(false, "获取数据失效,请重试!"); } } else { Log.Info($"[FB_SDK]FBLoginFailed:--->Cancelled:{result.Cancelled}\n--->Error: {result.Error}\n--->RawResult: {result.RawResult}"); onFbLoginFailed?.Invoke(false, result.Cancelled ? "用户取消登录" : result.Error); } }); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Environment
Describe your dev environment here, giving as many details as possible. If you have them, make sure to include:
2020.3.3f1
17.0.0
[iOS]
version15.4.1
Goals
Facebook limit login successful
Expected Results
Facebook limit login successful
Actual Results
[FB_SDK] OnLimitFbLogin
Steps to Reproduce
Using basic sample programs
Code Samples & Details
The text was updated successfully, but these errors were encountered: