Implementing Facebook server flow authentication in Java/JSF

This is a Java implementation of Facebook's server flow authentication, documented in PHP here. Start by creating a Facebook App to get an APP_ID and APP_SECRET. You will need these credentials to authenticate your App when accessing Facebook data through API calls. An access_token is returned by Facebook for authentication requests. The goal of this demonstration is to obtain this access_token.