Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
fbアプリにPHPFacebookクライアントライブラリを使用していますが、アプリを承認するユーザーに関する情報を取得する方法を知りたいです。たとえば、場所、年齢、その他の情報をどのように入手できますか?
そのユーザーのアクセストークンを取得する必要があり、その後:
$graph_url = "https://graph.facebook.com/me?access_token=" . $access_token;
ユーザーデータを返します。
これらのパラメーターは、認証 URL を介して要求する必要があります: user_location、user_about_me....
詳細については、 https ://developers.facebook.com/docs/ を参照してください。