user2732601
user2732601

Reputation: 11

Facbook4j: Automatically authenticate a user

What I've done so far:

I wanted to add facebook support to my native Java application (Java Web Start application). To get a valid access token for a new user, I forward the user to a web page where he can do the authentication (I don't think there is way doing the authentication directly from the native Java application because I don't use SWT to embed a browser). I'm saving the access token and now I have access from my native Java application to facebook.

The problem:

When the access token expires or becomes invalid for any reason, I have to repeat the whole proces to get a new, valid token. Isn't there a way to get a new access token silently, without user interaction?

Thanks in advance!

Upvotes: 0

Views: 50

Answers (0)

Related Questions