Facebook登录在Android上页 [英] Facebook login as a page in android
本文介绍了Facebook登录在Android上页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎么能作为登录页面管理员在Android中,就像在JS SDK? (通过这个链接如下: https://developers.facebook.com/文档/ HOWTO文档/登录/注册-AS-页/ )
How can I logging as a page admin in android, like in the JS SDK? (Followed by this link: https://developers.facebook.com/docs/howtos/login/login-as-page/)
感谢。
推荐答案
您应该允许添加manage_pages于你请求为会话的那些,然后做图的要求,如图您链接到页面(使用申请对象)。
You should add the manage_pages permission to the ones you're requesting for the Session, and then make graph Requests as shown in the page you linked to (using the Request object).
该工作流随后将是:
- 要求用户登录(通过Session.openActiveSession,或使用登录按钮)
- 问manage_pages权限(通过session.requestNewPublishPermissions)
- 请为其应该给你的页面列表ME /账户请求用户所管理
- 显示列表给用户,询问他们想使用哪个页面
- 使用该PAGE_ID做进一步的要求
这篇关于Facebook登录在Android上页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文