I'd appreciate if someone could help me out with the fql request.
I tried
SELECT username FROM standard_user_info WHERE uid = "100001466426542"
which resulted in
{
"error": {
"message": "(#15) This method must be called with an app access_token.",
"type": "OAuthException",
"code": 15
}
}
Try using graph API.You will get a JSON response.
http://graph.facebook.com/USERID
For FQL,
SELECT username FROM profile WHERE id = USERID