I tried to get an app-access-token for my facebook app with this code:
APP_ACCESS_TOKEN = FB.api( \"oauth/access_token\", {client_id: APP_ID, client_
I'm not sure that exposing the APP client secret in the code is a good idea, you can take the APP token from Facebook tool "Access Token Tool" just copy the token to your code for any use https://developers.facebook.com/tools-and-support/