I need to authenticate the users who visit my java based web app (Servlets and JSP) using different social media like facebook, twitter, google and yahoo.
Is there any open source library which solves this problem? Instead of working on different API's an open source java library would be helpful.
The guys from SpringSource have a library doing what you ask for, called Spring Social. The linked blog article explains what it does with some nice examples. But the project is still in beta (even though the quality of their deliverables has always been rock solid).
Take a look at openid4java.
This library allows you to OpenID-enable your Java webapp.
You can use Open ID with openid4java.
Related
I have done some researching but I haven't find a clean explanation of how it all work.
I would like to know how does applicationa like Instagram, Wordcrack (online game), AirBnb and many other app have tier "Login with Facebook" done?
I currently work on the Java REST services that backups up an iOS app.
If some one already has done a similar things in their app/server I would really appreciate some help
I'm not looking for ready to use code answer but more of a general idea of the architecture to achieve this.
thank you!
I've done it in JavaScript, but the principle will surely be the same.
You have an API, provided by facebook. There are some information there :
https://developers.facebook.com/docs/apis-and-sdks#third-party-sdks
And, more than that, you have declare your own app on facebook. This has, for me, 2 goals :
provide the url of your server, so when you'll call facebook with the
login information, he will know where to redirect
specify the access your app need.
When i've begun to watch this, i've discovered satellizer. I think that's a good entry point to understand how it works with an example :
https://github.com/sahat/satellizer
Hope this help.
Supporting login through their website (Facebook,Twitter,Instagram etc) allows a user to use his already active profile to signup to a portal or an app. This way a user experience is enhanced and having to have separate login credentials for different apps and sites are reduced.
A developer utilizes the APIs or SDKs that these social networks expose to let you integrate it in your app and provide an easy sign up process to your users.
I've recently found an open source library that does, post on a users facebook wall(restfb and facebook4j)
All of them does the necessary things, but there's one thing left I need to do and that is to login and register users to my web application using their facebook account. are there any related frameworks for such task? if not, please provide alternative solutions
If i am correct in my understanding, all you want is to use Oauth or Open Id system to let user register and login to your website using Facebook or any other such service provider.
If i am correct in my understanding, there is a very good library which is quite easy to use and very light weight.
Scribe-Java
It also contains few examples which shows how to use it and how it works, let us know if this is what you are looking.
Is there any Open source web conferencing solutions in Java, which could support features like a shared whiteboard, presentations, audio, video, Record / play back presentations etc? I am looking at some thing like WebEx, but also have a whiteboard to draw/share presentations.
I know that this question is old, however, I need to clarify that in BigBlueButton yes we use Java in the server side, you can check the code in the github repo:
https://github.com/bigbluebutton/bigbluebutton
In the the client side is done with flex, and for the desktop sharing is done with a java applet...
Do you know OpenMeetings?
http://code.google.com/p/openmeetings/
It uses Java but not solely. Other languages like Flash are also used.
The only alternative I know is BigBlueButton (GPL version available).
But it does not use Java at all..
Web page: http://bigbluebutton.org/
Google project page: http://code.google.com/p/bigbluebutton/
Is it possible to integrate facebook on a jsf page? Facebook only shows examples with php, but I already have an application written in jsf. I would like the single sign-on feature and be able to get my users pictures from facebook.
Maybe you have a little example on how you would do it :)
Thank you
Yes, it is possible. It does not matter whether it's JSF or any other view technology. You can take a look at RestFB - a Java API for using the Facebook Graph API. Or you can use the brand-new Spring Social, but it is not quite feature-rich yet.
New to Facebook API and Facebook Connect.
Found the Facebook Java API open source library on Google Code...
I am really excited that there's an API pre-written in Java for it!
Am interested in writing a server side Java layer which uses REST to be able to access a user’s Facebook Friends List, their wall, send them messages in-network, etc.
Downloaded the binary and unfortunately, I haven't found any sample or demo code when I unzipped it...
Question(s):
(1) Does this library support Facebook Connect?
(2) What is the best way to get start using Facebook Connect with server side Java?
(3) Since I am building middleware, do I still have to create a sample app on the online Facebook Developer page?
(4) What should I include in my (am a newbie in Maven) pom.xml in order to get started?
Use RestFB, that seems to be the inofficial FB Java Api:
http://restfb.com/
(There is no official FB Java Api anymore)
As far as I know, that library is broken. I couldn't get authentication to work with the latest version.
In my search for alternatives i found the "TinyFBTagLibrary" http://www.socialjava.com/ --
Yes, it requires just about a billion extra libraries to run, but it offers a simple way to execute facebook API calls in java that ISNT BROKEN (once again, as far as I know). My advice is to ignore all of the predefined tags for use in jsp and scroll down to the bottom to see how to use the TinyFBClient.call/getResponse when you need to get information.