本文介绍了如何检查朋友允许我在墙上发布或不使用php sdk的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个应用程序,需要检查朋友是否允许用户在朋友的墙壁上发布内容之前张贴他/她的墙壁。这种情况是必需的,因为如果用户没有权限,当用户选择该朋友发布内容时,我需要禁用提交按钮。

I have created an app that needs to check whether a friend allows a user to post on his/her wall or not before posting content on friend's wall. This scenario is required because I need to disable the submit button when the user chooses that friend to post the content if the user doesn't have permission.

推荐答案

当有人使用您的应用程序时,您需要请求 publish_stream 权限。这些链接提供更多的信息。

You need to ask for publish_stream permissions when someone uses your app. These links give more info.

PHP SDK

FB权限:

连接到FB的教程,包括要求权限:

Tutorial for connecting to FB including asking for permissions: http://thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/

如果您需要进一步的帮助,请提出更具体的问题,因为很难给出有用的解答这样的模糊问题。

If you need further help, please ask more specific questions as it is very difficult to give helpful answers to vague questions such as this.

这篇关于如何检查朋友允许我在墙上发布或不使用php sdk的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-02 00:44