开发者

Unable to get Events with specific location using restFB

I am unable to fetch all sports events happening in the state of Georgia. Is this the right way to use this, since it开发者_开发知识库s 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜