Я хочу обновить информацию о моей странице в Facebook с помощью Graph API. Я пытался обновить информацию часов со следующей конечной точкой
$hours = [
"mon_1_open" => request('mon_1_open'),
"mon_1_close" => request('mon_1_close'),
"mon_2_open" => request('mon_2_open'),
"mon_2_close" => request('mon_2_close'),
"tue_1_open" => request('tue_1_open'),
"tue_1_close" => request('tue_1_close'),
"tue_2_open" => request('tue_1_open'),
"tue_2_close" => request('tue_2_close'),
"wed_1_open" => request('wed_1_open'),
"wed_1_close" => request('wed_1_close'),
"wed_2_open" => request('wed_1_open'),
"wed_2_close" => request('wed_2_close'),
"thu_1_open" => request('thu_1_open'),
"thu_1_close" => request('thu_1_close'),
"thu_2_open" => request('thu_2_open'),
"thu_2_close" => request('thu_2_close'),
"fri_1_open" => request('fri_1_open'),
"fri_1_close" => request('fri_1_close'),
"fri_2_open" => request('fri_2_open'),
"fri_2_close" => request('fri_2_close'),
"sat_1_open" => request('sat_1_open'),
"sat_1_close" => request('sat_1_close'),
"sat_2_open" => request('sat_2_open'),
"sat_2_close" => request('sat_2_close'),
"sun_1_open" => request('sun_1_open'),
"sun_1_close" =>request('sun_1_close'),
"sun_2_open" => request('sun_2_open'),
"sun_2_close" =>request('sun_2_close')];
$response = $this->fb->post(
'/'. $your_page_id,
array (
'hours' => $hours
),
$page_access_token);
, но это показывает ошибку Invalid parameter
. Что пошло не так?