我有一個FQL查詢,給出page_id找到您的Facebook朋友的照片location_post。Facebook的FQL API - API錯誤:1:發生未知錯誤
rest_client.fql_query("SELECT id, page_id, author_uid, coords, type, timestamp FROM location_post WHERE author_uid IN (SELECT uid2 FROM friend WHERE uid1=me()) AND type = 'photo' AND page_id = 212068492162618")
但是,它返回APIERROR:1:發生未知的錯誤
Koala::Facebook::APIError: 1: An unknown error occurred from /opt/local/lib/ruby/gems/1.8/gems/koala-1.0.0/lib/koala/rest_api.rb:16:in
rest_call' from /opt/local/lib/ruby/gems/1.8/gems/koala-1.0.0/lib/koala.rb:55:in
api' from /opt/local/lib/ruby/gems/1.8/gems/koala-1.0.0/lib/koala/rest_api.rb:13:inrest_call' from /opt/local/lib/ruby/gems/1.8/gems/koala-1.0.0/lib/koala/rest_api.rb:7:in
fql_query' from (irb):51 from :0
如果我擺脫要麼author_uid的IN(SELECT UID2從相知WHERE UID1 =我()),如以下或PAGE_ID = 212068492162618,然後它
rest_client.fql_query("SELECT id, page_id, author_uid, coords, type, timestamp FROM location_post WHERE AND type = 'photo' AND page_id = 212068492162618 LIMIT 500")
知道爲什麼這會發生?
感謝