Lokesh Kurumala
Lokesh Kurumala

Reputation: 73

facebook graph api 601 exception. getting exception in the graph api

I'm new to graph API... I'm running the FQL query in the graph API

SELECT name, FROM user WHERE uid = me()  

I'm getting this error...

please help me.. thanks in advance

{
  "error": {
    "message": "(#601) Parser error: unexpected 'monthly_active_users' at position 0.", 
    "type": "OAuthException", 
    "code": 601
  }
}

Upvotes: 1

Views: 111

Answers (1)

ThatBuffDude
ThatBuffDude

Reputation: 481

SELECT name FROM user WHERE uid = me()

remove the coma after name if you want to add more selection add coma

like this

SELECT name,id FROM user WHERE uid = me() 

this video link might help you better understandign in fql

link

Upvotes: 2

Related Questions