Question

I can't seem to find one that's been updated recently. If none, is there a good Java library for doing the necessary signature verification, base64 decoding, etc operations needed to interact with Facebook's API?

UPDATE: I'm using Spring Social Facebook to aid in working with Facebook. It doesn't handle everything and isn't perfect, but the best library out there for Java. Looking forward to the ongoing progress from Spring. I asked a couple questions in their forum and responses were informative and super quick.

Était-ce utile?

La solution

You can check facebook's official android SDK which is written in Java:
https://github.com/facebook/facebook-android-sdk

all basic things like verification, decoding, etc are there, maybe android-related stuff is not what you need but I guess it is relatively trivial to extract it from there.

hope this helps

Autres conseils

I just started using RestFB. I looked at Spring first, but this seems like RestFB has a gentler learning curve. I'll update if it works for me.

i think the semi-official java SDK is the spring social one:

http://www.springsource.org/spring-social

but i wrote a Java wrapper for Facebook's REST GRAPH API (http calls to the graph api, and translations from json objects to java classes..)

you can check it out here:

https://github.com/itzikrou/fishbowl

hope it's usefull..

https://github.com/roundrop/facebook4j looks nice but haven't yet used it.

For example, the search API look straightforward:

ResponseList<User> results = facebook.searchUsers("mark");
ResponseList<Post> results = facebook.searchPosts("watermelon");

Go to developers.facebook.com , there u will get all API's releated to facebook..also manual regarding how to use them...

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top