A
A
Albert Kazan2019-12-02 22:44:12
API
Albert Kazan, 2019-12-02 22:44:12

How is the attachment of a photo in a contact organized?

I'm very interested in how photos, videos and other files are attached to posts and comments. Similar (but made to look worse) on Facebook.
Picked in search of clues to the VK API. And there mounts are given in the form of photo_. But it doesn't give me a clue how it's organized in the database even.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pfg21, 2019-12-02
@pfg21

in the database in the right place is a link to the image (url or path to the file).
when the script renders data from the database, it appropriately inserts the image into the page code.

L
lightmanLP, 2019-12-06
@lightmanLP

No one except the developers knows what the VK database looks like. If you don’t understand how images are uploaded to VK via api, then this is done by a post request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question