0

I'm trying to search for users on facebook with an app token. Here's the endpoint that I'm accessing with the graph explorer (I've tried both app and access tokens):

https://graph.facebook.com/v2.5/search?q=foo

Here's the error that I'm receiving:

{
  "error": {
    "message": "An unknown error has occurred.",
    "type": "OAuthException",
    "code": 1,
    "fbtrace_id": "BbsgVF64X28"
  }
}

Any idea what I'm doing wrong?

cscan
  • 3,684
  • 9
  • 45
  • 83

1 Answers1

2

Look at the docs at

You need to specify a type parameter to be able to use the search, like

https://graph.facebook.com/v2.5/search?q=foo&type=user
Tobi
  • 31,405
  • 8
  • 58
  • 90