Facebook:图形 API Java 库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3417448/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 23:08:39  来源:igfitidea点击:

Facebook: Graph API java library

javafacebookfacebook-graph-api

提问by flybywire

Who knows a good Java library for using Facebook's graph API?

谁知道使用 Facebook 图形 API 的优秀 Java 库?

采纳答案by Buhake Sindi

There are a list of good Facebook API in Java facebook4j. The simplest one is restFB. On their page, there's sample code that shows you how to use restFB.

Java facebook4j 中有一个很好的 Facebook API 列表 。最简单的一种是restFB。在他们的页面上,有示例代码向您展示了如何使用 restFB。

回答by stickfigure

Try out BatchFB, it's designed to get your data back with the minimum number of calls to Facebook:

试试 BatchFB,它旨在以最少次数的 Facebook 调用取回您的数据:

http://code.google.com/p/batchfb/

http://code.google.com/p/batchfb/

回答by Dafka

Also http://facebook4j.org/en/index.htmlBut not tested it yet by myslef.

还有http://facebook4j.org/en/index.html但 myslef 尚未对其进行测试。

回答by Karolis ?arapnickis

If you need a something more like Java EE solution, you can check out spring: http://spring.io/guides/gs/accessing-facebook/

如果您需要更像 Java EE 的解决方案,您可以查看 spring:http: //spring.io/guides/gs/accessing-facebook/

回答by Richard

I recommend restFB. It is simple and easy to use, the sample code is very clear and can quickly hands on it. Please check its web site: http://restfb.com/

我推荐restFB。简单易用,示例代码非常清晰,可以快速上手。请查看其网站:http: //restfb.com/