如果我调用 Facebook API 来创建一个新的测试用户,如下所示:
https://graph.facebook.com/APP_ID/accounts/test-users?
installed=true
&name=FULL_NAME
&locale=en_US
&permissions=read_stream
&method=post
&access_token=APP_ACCESS_TOKEN
用户已创建,但个人资料详细信息仅包含一些基本信息,例如性别/姓名/生日:
{
"id":"someID",
"name":"deleteme",
"first_name":"deleteme",
"last_name":"deleteme",
"link":"http:\/\/www.facebook.com\/profile.php?id=someID",
"birthday":"08\/08\/1980",
"gender":"female",
"email":"deleteme\u0040email.net",
"timezone":0,
"locale":"cs_CZ",
"updated_time":"2012-07-27T13:41:38+0000"
}
有没有办法创建一个具有更丰富的个人资料详细信息(例如“middle_name”、“bio”)的 Facebook 测试用户?
我试过这样称呼:
https://graph.facebook.com/APP_ID/accounts/test-users?
access_token=APP_ACCESS_TOKEN
&permissions=read_stream
&method=post
&name=deleteme
&installed=true
&gender=male
&middle_name=jantar
&bio=mojebio
&political=sharks
但它仍然会像第一次调用一样创建一个具有配置文件的测试用户(缺少“middle_name”和“bio”)。这是 Facebook API 的限制还是我遗漏了什么?
谢谢