The provided image file is invalid. Please check your image path again. Facebook Graph Api error
I am trying to upload image to Facebook graph api with Http Client of Laravel. But I am getting the error mentioned before. $ad_account_id = env("AD_ACCOUNT_ID"); $access_token = env("ACCESS_TOKEN"); $image = $request->file('image'); $response = Http::asForm() ->withHeaders(['Content-Type: multipart/form-data']) ->post('https://graph.facebook.com/v14.0/act_' . $ad_account_id…