Hi everyone!
While i call api to add tab to page, an error return "Request failed with code: 403, message: A page access token is required to request this resource…"
My code in php :
{
…
$page_id=xxxxxxxx;
$page_access_token="xxxxxxxxxxxxxxxxxxxxxxxxxx…";
$result=$client->api(‘v2.6/’.$page_id.’/tabs’, ‘POST’, [‘app_id’=>xxxx, ‘tab’=>‘xxxx’, ‘position’=>3, ‘access_token’=>$page_access_token, …]);
…
}
I don’t know where to put “access_token” in the “api” function is true ?
I use many other api function to call for manage page is successfully.
Please help me. Thank you