I'm a beginner in Java, and for my studies i need to implement Oauth2 with facebook to get authencation. I tried to write a servelet with the method Service, and i got the code thah i have to use in a second request.
AS i told you i'm a beginner as my question is:
Is Possible in a single Servlet after i receive the "code" to send a second request to the URL in 1 and get the responce with URL in 2 to retrieve the access_token??