Authenticating a FACEBOOK Application - PHP

后端 未结 3 529
耶瑟儿~
耶瑟儿~ 2021-01-16 16:41

i need to authenticate before posting to my own wall, so here is my code

function get_app_token($appid, $appsecret)
{
$args = array(
\'grant_type\' => \'c         


        
3条回答
  •  暖寄归人
    2021-01-16 17:24

    A client_credentials access token doesn't give any access to /me (who would "me" be in this case? there's nothing that ties it to a user), let alone posting access. It is for use only with application-level Graph API calls, like to get an application's Insights data.

提交回复
热议问题