i’ve been researching for that too but unfortunately the facebook device auth is still on experimental and they didn’t give new keys (partner) to use the device auth.
You can find the working example here: http://oauth-device-demo.appspot.com/ Just look at the website source and you can have the appID that works with it.