I am using the Facebook api, endpoint "search", to get id of any page that i search.
API URL: https://graph.facebook.com/search SEARCH_PARAMS:
- access_token: [User access token]
- q: "Bottom of the Hill"
- type: page
and i'm getting { data: [] } as response every time.
Is this api still valid or working today? Is there a specific permission i'm missing? Am i using the correct api? Is there another way to do this? if so what permission i will need to use it?
You should use
developers.facebook.com/docs/pages/searchingendpoint, but for that you will need have approved one of next features: 'Page Public Content Access' or the 'Page Public Metadata Access'. And both of them are not working in Dev mode at all :)