【发布时间】:2011-10-13 21:10:30
【问题描述】:
我想使用 Graph API 搜索名称为“John”或“Mark”的用户。
https://graph.facebook.com/search?q=john&type=user
https://graph.facebook.com/search?q=mark&type=user
是否可以仅使用一个请求来接收这些信息?像“q1=mark&q2=john”这样的东西?
【问题讨论】:
我想使用 Graph API 搜索名称为“John”或“Mark”的用户。
https://graph.facebook.com/search?q=john&type=user
https://graph.facebook.com/search?q=mark&type=user
是否可以仅使用一个请求来接收这些信息?像“q1=mark&q2=john”这样的东西?
【问题讨论】:
您可以使用批处理 API 在单个 API 调用中对两个请求进行分组。
【讨论】: