Android facebook login get code not access token

大兔子大兔子 提交于 2019-12-12 18:14:22

问题


I'm using facebook sdk on a Android app to login. Everything works ok with the login but instead of the access token on successful login I would like the get a code like when building a manually login flow (https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow#confirm). Here you have the possibility to set the response_type to token or code.

https://www.facebook.com/dialog/oauth?
client_id={app-id} & redirect_uri={redirect-uri} & reponse_type=code

Is there a possibility to also set this when using the facebook sdk?

Thank you!

来源:https://stackoverflow.com/questions/34454489/android-facebook-login-get-code-not-access-token

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!