Facebook 用户搜索 API

Facebook Users Search API

我正在使用最新版本的 facebook php sdk 我想要搜索的用户列表。

$response = $fb->get('search?q=programming&type=user', '{access-token}');

$response 在版本 5 中总是 returns 空白值。

提前致谢..!!!

已于 2018 年 4 月删除。

https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#search-4-4

You can no longer use the /search endpoint with the following object types:

  • event
  • group
  • page
  • user