Steps taken from http://stackoverflow.com/a/28418469/933621 (Dude you're a life saver!)
-
Create Facebook App
- Go to My Apps.
- Click "+ Add a New App".
- Setup a website app.
You don't need to change its permissions or anything. You just need an app that wont go away before you're done with your access token.
-
Get User Short-Lived Access Token