Chapter 5. Get an Access Token with the Client-Side Flow
In the previous chapter, we stepped through the registration process with our client application. Now that our application is registered, we're ready to start talking to Facebook! In this chapter, we will do this by creating a very simple HTML/JavaScript application, which we will use to request an access token from Facebook using the client-side flow (that is, the implicit grant flow). This is the simpler of the two workflows, and so understanding this will prepare us for the next chapter where we will build a more complex Java application which uses the server-side flow (that is, the authorization code grant flow) to request an access token.