I am unable to fetch all sports events happening in the state of Georgia. Is this the right way to use this, since its currently retrieving all events across the country.

FacebookClient publicFbClient = new DefaultFacebookClient(); 

Connection<Event> events = publicFbClient.fetchConnection( 
        "search", Event.class, 
        Parameter.with("category", "Sports"), 
        Parameter.with("location", "Georgia"), 
        Parameter.with("type", "event")); 
有帮助吗?

解决方案

There's no mention in the doc of the ability to limit results geographically except center (latlong) and distance (radius) when the type place is defined.

You can set the radial search variables for events but doing so doesn't appear to change the results.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top