F
F
fire_engel2020-07-05 12:11:02
Python
fire_engel, 2020-07-05 12:11:02

How to get link to original photo using vk api?

Hello, I have a photo id in the userid_photoid format. I log in to VK using a token in my account. I need to get the url to the original photo in order to upload it. Tried api.photos.getById(str(id)), doesn't work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-07-05
@fire_engel

api.photos.getById(str(id))

It will not work, the parameters must be passed correctly
https://vk.com/dev/photos.getById

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question