简体   繁体   English

将Facebook集成到android中-登录权限

[英]Integrating Facebook into android - login permissions

I am in the process of integrating Facebook login into the android app I am developing. 我正在将Facebook登录信息集成到我正在开发的android应用程序中。

I would like the app to be authorised to post/publish to feed/timeline. 我希望该应用程序有权发布/发布到提要/时间轴。 At present the user is receiving two login permissions screens (One for the initial login and a second one is appearing for the post permission). 目前,用户正在接收两个登录许可屏幕(一个用于初始登录,另一个显示用于发布许可)。 This isn't an ideal user experience. 这不是理想的用户体验。

How do I incorporate the permission to post into the permission screen that appears when the app asks the user to login to Facebook. 当应用要求用户登录Facebook时,如何将允许发布的权限合并到出现的权限屏幕中。

Having done some research it appears other apps can gain the authentication at the point of login and not require a re-login permission screen to appear with the post permission included. 经过一些研究,其他应用似乎可以在登录时获得身份验证,并且不需要重新登录权限屏幕即可显示并包含发布权限。

I'm clearly missing something. 我显然缺少了一些东西。

Please help! 请帮忙!

Thanks. 谢谢。

Possible copy of: Facebook SSO for Android can I ask for login and permission all in one time 可能的副本: 适用于Android的Facebook SSO我是否可以一次请求所有登录和许可

Bottom line is: "With the new SDK, you are required to ask for write permissions (such as "publish_actions") separately from read permissions". 底线是:“使用新的SDK,您需要独立于读取权限要求写入权限(例如“ publish_actions”)。

As you said it isn't an ideal user experience, I used a similar way to implement the login a user using sdk facebook, I follow this tutorial and it should show to the user only one login, and then a screen showing the post permission, without having to make log in again. 正如您所说的那样,这不是理想的用户体验,我使用了类似的方式来实现使用sdk facebook的用户登录,我遵循了教程,它应该仅向用户显示一个登录名,然后显示一个显示发布权限的屏幕,而无需再次登录。

this 这个

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM