我无法使用Facebook API设置关于param字符串的兴趣和关系。
api代码:
{
"about": "I am simple man",
"relationship_status": "Single",
"interested_in": [
"male"
],
"id": "103249693763348"
}
我的参数代码:
params.about = JSON.stringify([{
"about": I am simple man,
"privacy": '{"value":"EVERYONE"}',
"ref": "nux_android"
}]);
params.relationship_status = JSON.stringify([{
"relationship_status": single,
"privacy": '{"value":"EVERYONE"}',
"ref": "nux_android"
}]);
params.interested_in = JSON.stringify([{
"interested_in": male,
"privacy": '{"value":"EVERYONE"}',
"ref": "nux_android"
}]);