简体   繁体   English

脱机访问Facebook需要哪些权限

[英]Which permissions needed to Offline access Facebook

Currently, Offline_access of the Facebook api is deprecated. 目前,不建议使用Facebook api的Offline_access。 But I still want to post some articles on the wall of my users, even when they are not logged in to my website. 但是,即使用户未登录我的网站,我仍然希望在他们的墙上张贴一些文章。

How do I do this right now? 我现在该怎么做? Which permissions do I need to post to the wall of a signed up users which is not logged in at my website? 我需要哪些权限才能发布到未登录我的网站的注册用户的墙上?

I'm working in PHP. 我正在使用PHP。 I hope you can help me out! 希望您能帮帮我!

You can do it using the publish_stream extended permission as long as you have a valid access token. 只要您具有有效的访问令牌,就可以使用publish_stream扩展权限进行操作。

Keep in mind that your initial access token will expire within 2 hours but you can make a call to extend the permission as long as you have a valid reason for doing so. 请记住,您的初始访问令牌将在2小时内到期,但是只要您有合理的理由,您就可以拨打电话扩展该权限。

More information can be found here: 更多信息可以在这里找到:

http://developers.facebook.com/docs/howtos/login/extending-tokens/ http://developers.facebook.com/docs/howtos/login/extending-tokens/

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

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