# Facebook Device Authorization Grant Ref [Facebook Login for Devices](https://developers.facebook.com/docs/facebook-login/for-devices) ## Prerequisites 1. Create a Facebook App Audience ``` Which option best suits the audience you’re building this app for? Manage integrations for your business ``` Type ``` Business or Consumer ``` Details ``` Display name: oauth2-rs-f-b-device-demo ``` 2. Add and configure "Facebook Login" Product Enable "Login from Devices" 3. Add an Test User, Roles > Testers Ref https://developers.facebook.com/docs/facebook-login/access-tokens/#clienttokens ``` Your Client ID: (App ID in Settings > Basic) Your Client Secret: (Client Token in Settings > Advanced > Security) ```