In the Graph API Explorer tool I'm using this query:
search?q=myemail@gmail.com&type=user
But for whatever reasons I'm getting this returned.
{
"error": {
"message": "(#200) Must have a valid access_token to access this endpoint",
"type": "OAuthException",
"code": 200
}
}
The access token is there. And other requests work, like this one:
me?fields=id,name
Here's the return value
{
"id": "somelongnumber",
"name": "my name"
}
Not sure what I'm doing wrong, are there additional permissions that I have to setup to get search to work?
Edit: Here's the screenshot of my user permissions:
I have also tried using an application token, but same thing.
More updates:
Querying for names seem to work just fine:
search?q=FirstName LastName&type=user
returns valid results, but email returns me oath exception. Did facebook change the way they allow for email searches?