Answer the question
In order to leave comments, you need to log in
How to confirm the user's change of his photo vk api?
I call the method photos.saveOwnerPhoto
. At the output, I get an array - photo_hash, photo_src, photo_src_big, photo_src_small. In general, everything is as above. Shows that the picture has loaded and gives links to them. But the avatar doesn't change.
I go to the documentation of the method, I find the line:
After successful execution, it returns an object containing the photo_hash and photo_src fields (when working via VK.api, the method will return the photo_src, photo_src_big, photo_src_small fields). The photo_hash parameter is required for the user to confirm that their photo has been changed via the saveProfilePhoto Javascript API method call. The photo_src field contains the path to the uploaded photo.
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