Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Empty result for type=page in facebook

I am using facebook graph API to get the business detail by "type=page" , but for some business name show empty result

I have to use url

http://graph.facebook.com/search?q="Business Neme"&type=page

Then I get

{ "data": [

] }

please give me any solution to get full information of data using type=page

Thanks

like image 875
Khoyendra Pande Avatar asked Nov 29 '10 08:11

Khoyendra Pande


1 Answers

You should URL encode your query as Fluvio shown earlier.

http://graph.facebook.com/search?q=%22Business%20Name%22&type=page

or

http://graph.facebook.com/search?q="Business Name"&type=page

You should get the same result in both queries.

like image 79
Alexcode Avatar answered Oct 02 '22 09:10

Alexcode