Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用 facebook API 接受好友请求?
不是 Javascript SDK 的。
普通用户帐户无法通过 Facebook Graph API 发送和接受好友请求。您可以为应用程序的测试用户帐户添加和删除好友。如果这是您所指的,请参阅测试用户文档以获取示例。