Does facebook have a public search API?

It seems that I did not find the final word for searching on facebook api: api, which allows you to search for public status updates and comments / messages (there is a web interface for all registered users for this at the moment).

+48
rest api facebook
Feb 14 '10 at 23:26
source share
4 answers

You can use the Facebook graphical API:

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

find the search section,

QUOTE from fb:

Search

You can search all publicly accessible objects in a social graph using https://graph.facebook.com/search . Format:

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

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

You can also find an individual user news feed restricted to this user friends by adding the q argument to the home connection URL:

+105
Feb 26 '11 at 10:13
source share

Facebook Public mail search is no longer available in Graph API version 2.0: https://developers.facebook.com/docs/apps/changelog

+10
Jun 03 '14 at 13:11
source share

Better Use Facebook PHP SDK

-> Search for any term using facebook php sdk.

$mySrch = $facebook->api('/search?q=YOUR WORD&type=TYPES'); 

VARIOUS TYPES, you can search:

  • after
  • User
  • event
  • groups
  • a place
  • arrival
+3
Jul 18 '12 at 6:26
source share

One mistake I recently noticed is that you cannot assume that you will only receive Facebook pages when searching for pages on Facebook. Sometimes Facebook groups are included in the results without a method for decoding between them. Just a head!

0
Apr 05 '16 at 19:55
source share



All Articles