LoginSignup
6
6

More than 5 years have passed since last update.

Facebook Graph APIで親しい友だち一覧を取得する

Posted at

必要なparmission

read_friendlists を指定する

親しい友達リストを取得

https://graph.facebook.com/me/friendlists?list_type=close_friends

他にも色々指定できる。

  • close_friends
  • acquaintances
  • restricted
  • user_created
  • education
  • work
  • current_city
  • family

メンバーの取得

上記で取得した親しい友だちリストの id12345 の場合、

https://graph.facebook.com/12345/members

で取得する。

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6