Answer the question
In order to leave comments, you need to log in
Mediatopic.post with picture - error 300 "NOT_FOUND: not.found.photouploadinglocal?
I get an error 300 "NOT_FOUND : not.found.photouploadinglocal" when sending mediatopic.post with a picture.
Step 1. I get a url to upload
. Step 2. I make a post request, specify the received link, the real path to the image file
. Step 3. I send mediatopic.post c parameters :
"application_key"=>публичный ключ
"attachment"=> {
"media": [
{
"type": "photo",
"list": [
{ "id": "photoToken1" }
]
}
"format"=>"json",
"gid"=>id группы,
"method"=>"mediatopic.post",
"type"=>"GROUP_THEME"
Answer the question
In order to leave comments, you need to log in
Most likely, at the stage of obtaining the URL, the group ID is not indicated.
At the stage of obtaining a URL for uploading a photo, in the parameters, you must pass the ID of the group to which the post of the media topic will be made (you do not need to specify the album ID of "images from themes")
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question