-
Notifications
You must be signed in to change notification settings - Fork 87
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
Missing description for method GraphAPI.exchange_user_access_token
#238
Comments
Yes , you are right. We can add description for this, And other method. |
@MerleLiuKun I think this method should also provide the possibility to generate the user access token given the authorization code or maybe there should be another method for that case. Here, the |
the reponse is a url, it is generated by facebook. When you generate a ouath url to let user operate. After user give permisson, Facebook will direct to the redirect url you have pointed at oauth url. The direct url is the reponse |
@MerleLiuKun Alright, but isn't this URL just the redirect URI that you pass to |
Yes you are right. But we think this is facebook's reponse. just style is a url |
but when we pass response url to exchange_user_access_token they gives encode error response_url = request.build_absolute_uri()
print("RESPONSE URL:", response_url)
access_token = API.exchange_user_access_token(
response=response_url, redirect_uri=FREDIRECT_URL
) error:'OAuth2Token' object has no attribute 'encode' |
Could you give more information? I have not seen this error. |
Currently,
So, we have only a description of the parameters. This a public method, so it should have a description
The text was updated successfully, but these errors were encountered: