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_
You can also use this POST endpoint without generating the token, just be sure its being called from the server not client-side where the app_secret is exposed to public:
https://graph.facebook.com/?id={url}&scrape=true&access_token={app_id}|{app_secret}