替换 if-is-app-user

问题描述 投票:0回答:1

既然 FBML 已被弃用,有谁知道返回也使用同一应用程序的朋友列表的最佳方法吗?

谢谢

php facebook facebook-opengraph fbml
1个回答
0
投票

来自 is-app-user 文档

 Please note: We are in the process of deprecating the REST API, and have added 
 equivalent support to the Graph API for this method. Please use the Graph API 
 User object and GET /[UID]?fields=installed to check if a user is has TOSed that app.

此外,您应该已经拥有应用程序所有用户的 uid,因为您保存了自己的状态,因此您可以使用它。

© www.soinside.com 2019 - 2024. All rights reserved.