Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting, (#803) Some of the aliases you requested do not exist error

When i am trying to get data from facebook using graph api, i am getting this error,

{"error":
{"message":"(#803) Some of the aliases you requested do not exist: 124186682456_10151302011177457&access_token=REMOVED_ACCESS_TOKEN",
"type":"OAuthException",
"code":803}}

Can anyone help me in how to solve this problem.

Thanks in advance...

like image 374
Visweswaran Radhakrishnan Avatar asked Nov 21 '12 14:11

Visweswaran Radhakrishnan


1 Answers

If that is an accurate representation of the error you're receiving, you're incorrectly appending the access token after a & character instead of a ?. You need to use ? for the start of the query string, and & to separate the parameters inside the query string

e.g. https://graph.facebook.com/124186682456_10151302011177457?access_token=ACCESS_TOKEN

like image 123
Igy Avatar answered Oct 09 '22 20:10

Igy