FQL调用仅适用于API,而不适用于代码

时间:2014-01-27 05:06:20

标签: facebook-graph-api facebook-fql

几天来,我一直在努力解决这个问题。希望有人可以提供帮助。 我运行这个FQL查询: SELECT eid FROM event_member WHERE uid IN(SELECT page_id FROM place WHERE
 距离(纬度,经度,“37.76”,“ - 122.427”)< 1000)

使用facebooks graph api explorer

工作得很好

在我的代码中运行它会产生此错误 (OAuthException - #803)(#803)您请求的一些别名不存在:SELECT eid FROM event_member WHERE uid IN(SELECT page_id FROM place WHERE distance(纬度,经度,“33.675098”,“ - 117.733903”)< 1000) 这是代码

string qry =“SELECT eid FROM event_member WHERE uid IN(SELECT page_id FROM place WHERE distance(纬度,经度,\”“+ lat +”\“,\”“+ lon +”\“)< 1000) “;             var client = new FacebookClient(accessToken);             dynamic eventIds = client.Get(qry);

0 个答案:

没有答案