java - Spring - Facebook integration without storing connections -


i've been trying integrate application facebook long time, can't find example how without storing user connections. know there project called spring-social , can integrate implementing socialconfigurer methods , requires usersconnectionrepository, bad idea.

i don't want redirect requests since have facebook access id ( it's passed other application ). want log in , create user in db ( if didn't exist before )

how can ?

ideally have :

facebookservice.getuserdetails(facebookaccessid) facebookservice.getphotos(facebookaccessid, ... )

no sessions etc

so want create new user in db if not exist right? , no open connection? can use jpa (when working java) or entity-framework (.net).

in jpa can work in combination objectdb. http://www.objectdb.com/ it's simple sounds. (you can handle jpql (sql jpa)) when working maven can implement jpa & objectdb code: http://m2.objectdb.com/


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -