[yiisoft/yii2-authclient] Error from adding tab to page

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 :




$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

[color="#006400"]/* Moved from "Tips" to "Extensions" */[/color]