向 Facebook 的 REST API 发送 10 个查询。通过 Koala 的 fql_multiquery 函数调用 REST API,输入哈希如下:
{"query11"=>"SELECT page_id, name, fan_count, page_url FROM page WHERE name='Wyoming Area Sec Center' ORDER BY fan_count DESC LIMIT 1", "query12"=>"SELECT page_id, name, fan_count, page_url FROM page WHERE name='Wyoming Area High School Exeter PA' ORDER BY fan_count DESC LIMIT 1", ...}
查询似乎都格式正确,但考拉返回:
Koala::Facebook::APIError: 601: Parser error: unexpected 's' at position 73.
以前有人遇到过这个错误代码吗?