-
Notifications
You must be signed in to change notification settings - Fork 55
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
error: Invalid OAuth access token signature. #10
Comments
I get the same error and I've tried resetting the secret key without any luck |
Don't forget to set your access token.
|
@BaseInfinity how do you get this access token? In my app page I have only the id and the secret. |
Had this issue too. Did what @BaseInfinity said. @sebpiq Go to https://developers.facebook.com/docs/facebook-login/access-tokens/ For an App access token GET /oauth/access_token? |
https://developers.facebook.com/docs/howtos/login/login-as-app/: “Because it requires you to include your App Secret you should not attempt to make this call client-side as that would expose this secret to all your app users. It is important that your App Secret is never shared with anyone. For this reason, this call should be performed server-side” And for the app access token, it’s the same – you should never use it client-side, because every user could spot it there and then start using it to perform actions on behalf of your app (or change many of your app’s settings). If you have a server-side part to your application, you can simply “build” the app access token there yourself, concatenating app id and secret with a pipe symbol, app_id|app_secret. |
The issue is the param 'appID' should be 'appId': |
Just ran into this too - it looks like the README example has the wrong capitalization |
OMG! Thanks for pointing out the capitalization issue! I was grinding my teeth dreading having to jerry rig some kind of GET token request and wondered why this lib didn't just do it... this explanation makes a lot more sense :P |
The facebook-node-sdk page has a typo in it. See the bottom of this page: amachang/facebook-node-sdk#10
I don't know me by AccessToken getCurrentAccessToken () method to get the token is a token of the APP or the user's token, through "https://graph.facebook.com/debug_token? Access_token = {My AppId} | {CMy AppSecret} & input_token = {AccessToken. GetCurrentAccessToken () access token} "the interface returned My token validation error of this information. |
I am facing this issue, can anyone help me with this please |
1. Can you describe the situation where you have this problem? 2. What is your version of flutter_facebook_login? 3. Can you post your source code? |
Hi!
I am trying to get started; and I have this very simple code :
I don't know what's the problem, but I keep getting this error :
did I miss something very basic?
The text was updated successfully, but these errors were encountered: