2
我正在尋找一種簡單的方法來查詢使用Java界面在Facebook中創建的事件。如何使用java查詢Facebook事件
例如Fetch me all events happening in San Jose, CA during the course of 1 week from now
例如Fetch me all events categorized by music around San Jose, CA within a span of 5 miles radius
例如Fetch me all events happening in San Jose, CA sorted by number of participants
- 有興趣瞭解大量用戶參與的事件。
我還發現可以使用以下API的引用,但不確定要使用哪一個。與facebook-java-api相比,RestFB似乎擁有更多流量。
http://restfb.com/javadoc/com/restfb/types/Event.html
http://code.google.com/p/facebook-java-api/
沒有一個工具https://developers.facebook.com/docs/sdks/似乎列出了僅Java選項。我寧願使用API接口來獲取對象。 – Jason
API類似於REST。你可以用'HttpUrlConnection'查詢它。 –
欣賞,如果你能爲我們提供一個示例API演示。 – Jason