Answer the question
In order to leave comments, you need to log in
Post a photo from a message to a VK group?
Hello!
There is a task: a photo and a "code word" are sent to the group's messages, the bot recognizes the "code word" and creates a post in the group. Everything is done and almost works .. except for the photo. If you attach a photo from the user's already available in VK to the message, everything is fine. If you add (upload) a new photo, everything works, but does not attach a photo. At the same time, a report is created that everything has been worked out, gives out a photo ID of the photo111_222_333 (-code) format, gives a link in the format https:\/\/pp.userapi.com\/c111111\/v111111\/11111\/111111.jpg (all from callback api). A direct link (vk.com\photo...) does not allow opening this photo.
Can you tell me where the dog is buried?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question