使用Facebook的PHP SDK或API可以取消好友或删除好友的任何方法吗? [英] Any way to unfriend or delete a friend using Facebook's PHP SDK or API?

查看:81
本文介绍了使用Facebook的PHP SDK或API可以取消好友或删除好友的任何方法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够对用户进行身份验证,列出他们的所有朋友,并让他们能够不与Facebook.com网站上的过程进行交友/删除其中的一些朋友.

I want to be able to authenticate the user, list out all their friends and give them the ability to unfriend / remove some of those friends with without going through the process on the Facebook.com website.

是否可以通过API?

推荐答案

没有可用的API以编程方式添加或删除朋友.

There is no API available to add or remove friends programmatically.

可用的是一个对话框,您的应用程序可以用来帮助用户发送朋友请求,但这仍然需要直接的用户交互

What is available is a dialog box your app can use to help users send friend requests, but this still requires direct user interaction

这篇关于使用Facebook的PHP SDK或API可以取消好友或删除好友的任何方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆