使用图形api资源管理器在Facebook上进行投票

时间:2012-09-21 13:01:50

标签: facebook api facebook-graph-api explorer

我正在尝试使用Graph Api Explorer创建一个新问题,如何在options []参数中包含数组值。它给了我回复

{   “错误”:{     “type”:“例外”,     “message”:“请添加至少两个选项。”,     “code”:1525025   } }

如何在图形api资源管理器中包含数组值?

1 个答案:

答案 0 :(得分:0)

Eventually i was able to do so , below is the request format for testing out posting of questions through Graph Api Explorer

question => "your Question" 
option => ['123','1342','1'] 
allow_new_options  => true or false // only two  values accepted.

This is the perfect request example to post a question on facebook.