devesm
devesm

Reputation: 53

Search for pages via Graph API, response empty

When I send the request search?type=page&q=test&access_token=[access_token] to Graph API, the response is empty data. Is there a problem with the access token or is there something missing from the request URI? I also can't seem to find a comprehensive documentation of the search method, only that for places search.

This is the response I'm getting:

{
  "data": [
  ]
}

Upvotes: 3

Views: 1015

Answers (2)

andyrandy
andyrandy

Reputation: 73994

Facebook made a lot of changes recently:

https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#search-4-4

You can no longer use the /search endpoint with the following object types:

  • event
  • group
  • page
  • user

Upvotes: 5

Related Questions