LoginSignup
1
1

More than 5 years have passed since last update.

FacebookのIDマッチングAPIでPage scoped IDを取得する方法

Last updated at Posted at 2018-09-18

事前にApp scoped user IDが取得できてる前提。

Page Scoped ID の取得手順

FacebookのIDマッチングAPI GET /{app_scoped_user_id}/ids_for_pagesを使って、ユーザーのPage Scoped IDが取得できる。
IDマッチングAPI - Facebookログイン

リクエストURL&パラメータは以下

GET /{app_scoped_user_id}/ids_for_pages
    ?access_token={app_access_token}
    &appsecret_proof={appsecret_proof}

パラメータ

{app_scoped_user_id}:対象アプリのApp scoped user IDを指定
{app_access_token}:Facebookアプリのapp_access_tokenの生成手順 - Qiita
{appsecret_proof}:Facebookアプリのappsecret_proofの生成手順 - Qiita

1
1
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
1
1