Reputation:
String fqlurl="https://api.facebook.com/method/fql.query?query=SELECT name FROM user WHERE uid = me()";
Does anyone could tell me what's wrong with this url?
I have illegalArgumentException error.
Upvotes: 1
Views: 62
Reputation: 21851
You'll need to URLEncode the query.
So, your query becomes :
SELECT+name+FROM+user+WHERE+uid+%3D+me%28%29
from
SELECT name FROM user WHERE uid = me()
Upvotes: 1