trying to get app access token

前端 未结 5 1432
感动是毒
感动是毒 2020-11-28 04:55

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_         


        
5条回答
  •  情歌与酒
    2020-11-28 05:48

    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/

提交回复
热议问题