我正试图通过我的Facebook应用程序获取用户链接,这导致我链接不正确。 我正在使用我的access_token: https://graph.facebook.com/me?access_token=MY_ACCESS_TOKEN&limit=25&fields=name%2Cfirst_name%2Clast_name%2Clanguages%2Cabout%2Cemail%2Cbirthday%2Cgender%2Crelationship_status%2Cupdated_time%2Clink
我得到的回应是:
. {
name: "Tomer A",
first_name: "Tomer",
last_name: "A",
languages: [
{
id: "10XXXXX37",
name: "English",
},
{
id: "108405449189952",
name: "Hebrew",
},
{
id: "103088979730830",
name: "Mandarin Chinese",
},
{
id: "312525296370",
name: "Spanish",
},
],
email: "XXXXX@gmail.com",
birthday: "07/12/XXXX",
gender: "male",
updated_time: "2018-03-28T17:34:21+0000",
link: "https://www.facebook.com/app_scoped_user_id/10XXXXX37/",
id: "10XXXXX37",
}
当然没有XXXX;)
使用链接时:“https://www.facebook.com/app_scoped_user_id/10XXXXX37/” 我正被重定向到链接:https://www.facebook.com/home.php
使用https://www.facebook.com/profile.php?id=10XXXXX37时,它会将我送到同一个地方。
任何想法为什么? 谢谢,