Answer the question
In order to leave comments, you need to log in
Access denied for photo.getById method in VK. What is the reason?
There is a photo on the wall
photo id : 358000899
API CAll : https://api.vk.com/method/photos.getById?photos=-1...
RESELT : {"error":{"error_code":200,"error_msg ":"Access denied","request_params":[{"key":"oauth","value":"1"},{"key":"method","value":"photos.getById"}, {"key":"photos","value":"-17589818_358000899"},{"key":"extended","value":"1"}]}}
Answer the question
In order to leave comments, you need to log in
1. I do not see authorization in the request. access_token still needs to be passed.
https://vk.com/pages?oid=-1&p=%D0%92%D1%8B%D0%BF%D...
2. Do not forget that you need to request access rights to photos
https://vk. com/pages?oid=-1&p=%D0%9F%D1%80%D0%B0%D...
3. Writing questions in English on a Russian site looks strange to say the least.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question