Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I wanna add two factor authentication using Google Authenticator and was wondering if google provides with java api's. I tried searching for it but din't find any.
Can anyone point me to the java api if there are any.
If not how can i go about using Google Authenticator in my web based java application.
I am using Spring framework for my existing application
In fact, Google Authenticator has nothing to do with Google services. What you need to look for is TOTP. Research again using TOTP and rfc6238 as keywords and you will find lots of resources.
Java library for google authenticator was implemented and can be found here,
https://github.com/wstrange/GoogleAuth
Sorry if this is too much of a necro-post, but I found this library on GitHub - maybe it can help you (and others looking for the same). :)
Note: this is not an official Google library, but it follows the RFC 6238 spec for Time-based One-time Password (TOTP), and the author looked at the C code for Google Authenticator for reference.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this 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.
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.
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
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...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
We are working on some social media project. I am looking for some java wrapper for linkedIn which is recommended.
For facebook restFB and for twitter twitter4j are awesome. Something like that for linkedIn as well?
I would really recommend having a look at Spring Social. SpringSource have excellent documentation for all their libraries and the API is easy to use.
you could try using linkedin-j, its quite easy to work with.
The Scribe library is used by many folks, and is actively being developed:
https://github.com/fernandezpablo85/scribe-java
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We will shortly build a prototype which will play the role of an OAuth client to interact with sites such as Facebook. A requirement is that we use OAuth 2.0 (knowing it is still in draft status).
Do you know of any Open Source Java implementations of an OAuth 2.0 client library?
Our goal is to use it in our prototype, contributing to the project if possible.
Look at newly released java library: leeloo.smartam.net
Compliant with oauth 2.0 draft 10, same as used by Facebook.
Take a look at Library for OAuth Consumer (Java)
Take a look at this -
http://oauth.googlecode.com/svn/code/
You have Java client implementations too.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have downloaded facebook-java-api-3.0.2-bin from
http://code.google.com/p/facebook-java-api/
for connecting to face book.I want to use this api in my java application to connect Facebook.I am developing a desktop application for this purpose.I have created account on Face book and registered as a developer.
Is it possible to connect Facebook from my java application?
If yes please, can some one send me the example code for that and treat me as a New Bee in this facebook integration?
Thanks in advance.
Have you tried out the various examples available in the api wiki?
http://code.google.com/p/facebook-java-api/wiki/Examples
Google also returns various tutorial pages:
http://programmaremobile.blogspot.com/2009/01/facebook-java-apieng.html
http://www.socialjava.com/socialjavastepbystep.html
You should try working through some of these and posting specific questions about problems you run into.
Note that the facebook-java-api project is now dead.
Use instead:
http://restfb.com/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for a Java payment gateway library similar to the Rails active_merchant or the libraries available on many other platforms. I've been surprised that I've been unable to find one. I'd like something that supports the major gateways and providers, like Paypal, Google, Amazon, and some direct merchant account providers like Authorize.net.
Does such a thing exist in the open source world?
Stripe has a Java library to accept credit cards without needing a merchant account: https://github.com/stripe/stripe-java
Check out the documentation and FAQ, and feel free to drop by our chatroom if you have more questions.
I found nice paypal library at sourceforge:
http://sourceforge.net/projects/paypal-nvp/