I ve a problem with FB.api
我呼吁按照以下方针开展一项活动:
FB.api( /me/events , post , {
access_token: $( #access_token ).attr( value ),
name: td.find( #event_name ).attr( value ),
description: td.find( #description ).attr( value ),
start_time: td.find( #event_start ).attr( value ),
end_time: td.find( #event_end ).attr( value ),
street: td.find( #venue_street ).attr( value ),
city: td.find( #venue_city ).attr( value ),
country: td.find( #venue_country ).attr( value )
}, function(response){
console.log(response);
});
在城市是非城市之前,它会进行罚款;从那时起,追捕职能从未被召唤。
如果我审查美国宇宙航空研究开发机构利用消防小组提出的要求,我就看到以下答复:
FB.ApiServer._callbacks.f37cab142051f02({
"error": {
"type": "Exception",
"message": "(#151) Unknown city"
}
});
The docs seem to show that I m doing it right: http://developers.facebook.com/docs/reference/javascript/FB.api
谁为什么要打退功能,以及我如何赶上错误?