5

I'm trying to search by e-mail using the Facebook Graph API but I always got the error result:

request: .../[email protected]&type=user result:

{
  "error": {
    "message": "(#200) Must have a valid access_token to access this endpoint", 
    "type": "OAuthException", 
    "code": 200
  }
}

I´m using an access token and this one is a user's (mine) valid access token. If I do a search for any thing else (like a name) it works fine.

1 Answer 1

7

No, you can only search by name, but not by email:

https://developers.facebook.com/docs/graph-api/using-graph-api/v2.2#search

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.