[SOLVED] How to find username given uid in Facebook?


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.


For FQL,

SELECT username FROM profile WHERE id = USERID

Answered By – Surabhil Sergy

Answer Checked By – Mildred Charles (BugsFixing Admin)

Leave a Reply

Your email address will not be published.