android - FQL query error: "An unknown error has occurred." -


i've started facing problems facebook fql without change code. , they're getting solved without change! i'm receiving annoying message has no clear indication of problem , possible solutions.

{    "error": {       "message": "an unknown error has occurred.",       "type": "oauthexception",       "code": 1    } } 

i've been using fb-sdk android , changed parse content url (get) , problem still existing. i'm trying trigger simple query (that works in graph api explorer).

select name,price_range,type,location,page_id page page_id in (select page_id,latitude,longitude place distance(latitude, longitude, '-30.03852', '-51.17877') < 50000 limit 20) , (type='restaurant/cafe' or type='local business') 

the url used following

https://graph.facebook.com/fql?q=select name,price_range,type,location,page_id page page_id in (select page_id,latitude,longitude place distance(latitude, longitude, '-30.03852', '-51.17877') < 50000 limit 20) , (type='restaurant/cafe' or type='local business')&access_token=access_token 

any help??

your query works fine. suggest log active session token , make sure open when running query. can check state of session using isopened method

activesession.getstate().isopened()  

best of luck :)


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -