upload an image to Wechat server using the new permanent material interface, and then return the media_id, of the image. I saved this media_ia. However, through the access to permanent material interface, when you want to download this picture, you will be prompted that media_id is invalid. What"s going on?
$token = token();//access_token
$media_id = "6ucZhqo8frzzRxLxDiM3iW-S9ekqv7pSSVEtfpvok6M";//media_id
$bgUrl = "https://api.weixin.qq.com/cgi-bin/material/get_material?access_token=".$token;//
$arr = array(
"media_id"=>$media_id
);
$return = $wxObj->htts_request($bgUrl,$arr);//wxObj
file_put_contents("bm.txt", $return);
:40007invalid media_id hint: [roKOwa05051335]