任何人都可以帮我如何使用php codeigniter删除facebook保存的应用程序。
这是我的代码首先我加载fb库然后如何使用此库删除特定的应用程序?
$this->load->library('facebook'); $user = $this->facebook->user(); //here how to send a request to the facebook to delete an requested application提前致谢
Can any body help me how to delete the facebook saved app using php codeigniter.
Here is my code first i load the fb library then how to delete the the specific app using this library?
$this->load->library('facebook'); $user = $this->facebook->user(); //here how to send a request to the facebook to delete an requested applicationThanks in advance
最满意答案
不,您无法从代码中删除Facebook应用程序。 您在此处加载的CodeIgniter库用于访问公共Facebook API并获取有关用户等的详细信息。
如果要删除您创建的Facebook应用程序,则可以在Facebook的应用程序控制面板中执行此操作。
如果你想删除其他人创建的Facebook应用程序,那么你必须请求Facebook通过电子邮件这样做,但我怀疑这是你想做什么,也不能实现它。
如果要删除用户的应用程序(即通过API撤销应用程序访问),则必须告诉用户自己执行此操作。 Facebook API不允许您操纵其他用户的Facebook帐户。
如果是您自己的帐户,请登录并通过您的用户个人资料删除该应用程序。
基本上你在Facebook API中提出的要求是不可能的,并且与CodeIgniter没有任何关系。
No, you cannot delete a Facebook application from your code. The CodeIgniter library you're loading here is for accessing the public Facebook API and getting details about users, etc.
If you want to delete a Facebook application you created then you can do that in the application control panel on Facebook.
If you want to delete a Facebook application someone else created then you would have to petition Facebook to do that via email but I doubt that's what you want to do nor would you be able to achieve it.
If you want to delete the application for the user (i.e. revoke the application access via the API) then you have to tell the user to do that themselves. The Facebook API does not allow you to manipulate another users Facebook account.
If it's your own account then log in and remove the application via your user profile.
Basically what you're asking isn't possible in the Facebook API and doesn't have anything to do with CodeIgniter.
更多推荐
发布评论