Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does facebook have a public search API yet?

Tags:

rest

facebook

I can't seem to find the definitive word out there of the facebook search api: the api that allows you to search public status updates and comments/posts (there is a web interface for all logged in users for this at the moment).

like image 296
Michael Neale Avatar asked Feb 14 '10 23:02

Michael Neale


People also ask

Does Facebook have a public API?

With the Facebook API, you can access and read public data for Facebook Pages that you are not the admin of. This data, including business metadata, public comments, and posts, can be used for competitive analysis and benchmarking.

Can I use Facebook API for free?

The Graph API is free to use, for all applicable use cases. Rate Limiting applies though, developers.facebook.com/docs/graph-api/advanced/rate-limiting There is no way to “pay” or otherwise get those limits raised for normal 3rd party apps. Thank you, that answers my question.

Is Facebook API a REST API?

Yes, it is a REST API as well. Show activity on this post. Yes, there have been 3 Facebook API's to date: Legacy REST.


1 Answers

You can use the Facebook graph API :

http://developers.facebook.com/docs/reference/api/

look for the searching section,

QUOTE from fb:

Searching

You can search over all public objects in the social graph with https://graph.facebook.com/search. The format is:

https://graph.facebook.com/search?q=QUERY&type=OBJECT_TYPE We support search for the following types of objects:

All public posts: https://graph.facebook.com/search?q=watermelon&type=post

  • People: https://graph.facebook.com/search?q=mark&type=user
  • Pages: https://graph.facebook.com/search?q=platform&type=page
  • Events: https://graph.facebook.com/search?q=conference&type=event
  • Groups: https://graph.facebook.com/search?q=programming&type=group
  • Places: https://graph.facebook.com/search?q=coffee&type=place&center=37.76,122.427&distance=1000
  • Checkins: https://graph.facebook.com/search?type=checkin

You can also search an individual user's News Feed, restricted to that user's friends, by adding a q argument to the home connection URL:

  • News Feed: https://graph.facebook.com/me/home?q=facebook
like image 58
Jarod DY Law Avatar answered Oct 29 '22 20:10

Jarod DY Law