We've learned a lot about how to find data in the Graph. Are you surprised by how limited our search options are? After all, even the website search can be narrowed down with more options than we have available.
Don't worry – in Chapter 7 we'll see how to use a more powerful resource than Graph URLs to search and sort data from the Graph. But before that, I think it's time we stopped merely looking at Graph data, and started creating some of our own. That's what we'll cover in the next chapter.
Key takeaways:
The basic search query Graph URL is: https://graph.facebook.com/search?type=«type»&q=«query»
The
type
parameter can be any of the following:page
post
(which is the default, iftype
is unspecified)event
group
user
checkin
place
If type is set to
place
, then two other parameters are required:center
, a location specified by a latitude and longitude, separated by a commadistance
, the maximum distance in meters from thecenter
location that the place being searched for can be
Search data...