HI im trying to create live stream RTMS url with product_items enum list. Please give me solution how i can add the products , note the product id already created in facebook and it's facebook product id, also try to assign array of enum like ['productId1','productId2'] but still not working here the code
try { $response = $this->fbLatest->post("/" . $this->pageID . "/live_videos", [ 'access_token' => $this->accessToken, 'status' => 'LIVE_NOW', 'title' => 'testtsss', 'description' => 'asdsadasdadasdadadad', 'product_items' => [ array( 'id' => "25252395334406077", 'retailer_id' => "25252395334406077", 'product_id' => "25252395334406077", 'position' => array( 'x' => 0.1, 'y' => 0.1 ), 'start_time_offset_ms' => 0, 'end_time_offset_ms' => 60000 ), ] ]); $graphNode = $response->getGraphNode(); $stream_url = $graphNode->getField('stream_url'); $streamID = $graphNode->getField('id'); dd($graphNode , $stream_url); } catch (\Facebook\Exceptions\FacebookResponseException $e) { dd($e); echo 'Graph returned an error: ' . $e->getMessage(); } catch (\Facebook\Exceptions\FacebookSDKException $e) { dd($e); echo 'Facebook SDK returned an error: ' . $e->getMessage(); }
here the error:

Please help with this.