-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
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
Accesstoken is generated by android is working but when generated by the ios is giving error (Authentication error: AxiosError: Request failed with status code 400) #411
Comments
Can you please share your contact email here ? |
***@***.***
…On Tue, Jun 11, 2024, 9:24 PM DevineStar24 ***@***.***> wrote:
Can you please share your contact email here ?
—
Reply to this email directly, view it on GitHub
<#411 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIBMELKWOROVJARU5J6WDQTZG4MTDAVCNFSM6AAAAABI4OSYAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRRGEYDKMJRGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Not getting your email |
I have recived this message from meta. There have been changes made to the Facebook Login SDK for iOS that require your action. As of late March, we have made changes to our iOS FBLogin SDK in response to the overall changes to iOS that will affect all iOS developers who utilize FBLogin. In order to avoid potential app disruption, we are recommending iOS developers to do one of the following, based on how their application is utilizing FBLogin: It seems I need to update the ios sdk to the lastest version. I will try to do it in these days https://developers.facebook.com/docs/facebook-login/limited-login/faq/ |
Hi @darwin-morocho have you been able to update it? |
Hey @darwin-morocho have you been able to update this? |
What version are you using?
6.2.0
What OS and version are you using to local deploy your application?
Version 15.3
What platforms are you seeing the problem on?
iOS
pubspec.yaml
Describe the Bug
Accesstoken is generated by android is working but when generated by the ios is giving error
params: {
fields: 'email,name,accounts{picture,access_token,category,name,id},id',
access_token: 'ChdgKov8IRtiAuPtQCOAivIUW9WlbuTSQgBJYwruWylZ9yqIL3akyT2s7oFzUcBqNocwHtO09qBbZ7H5qdPvdlWMWoZgFPbGnokJBdL0epce7iIfRN6zMeAg6kxXmSiZW1R1TKt9YTIxYtQf7Qm9o7vipDVor9UDgIFEezqH2bAue7iXOHlexXQDuMJGgU4aIJa2YkcROTqtSRGW0uMHIQDHyMDBEPxKOqLUEsziVEK5RIG61CeFV1GlXPwdca1'
},
method: 'get',
url: 'https://graph.facebook.com/v19.0/me',
data: undefined
Expected Behavior
give response
To Reproduce
code is workin on the android but perfectly
onPressed: () async {
FacebookAuth.instance.logOut();
try {
final AccessToken? accessToken =
await FacebookAuth.instance.accessToken;
if (accessToken != null) {
debugPrint(
'Existing Access Token: ${accessToken.token}');
await FacebookAuth.instance.logOut();
debugPrint('Logged out of existing session');
}
Relevant log output
flutter doctor -v
Info.plist (iOS)
No response
Podfile (iOS)
No response
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response
The text was updated successfully, but these errors were encountered: