Answer the question
In order to leave comments, you need to log in
Why does the server only return Access Denied 200 in the photos.get() method when accessing the Saved Photos album?
import vk
API_VERSION = 5.80
session = vk.AuthSession(app_id=APP_ID, user_login=user_login, user_password=user_password)
api = vk.API(session, v=API_VERSION, scope='photo')
response = api.photos.get(owner_id=profile.owner,
album_id='saved',
photo_sizes=1)
vk.exceptions.VkAPIError: 200. Access denied. request_params = {'oauth': '1', 'method': 'photos.get', 'v': '5.8', 'scope': 'photo', 'owner_id': 'profile.owner', 'album_id': '-15', 'photo_sizes': '1'}
response = api.photos.get(owner_id=profile.owner,
album_id='wall',
photo_sizes=1)
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