Unable to get Events with specific location using restFB
Pregunta
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"));
Solución
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.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow