Answer the question
In order to leave comments, you need to log in
How to send a gift to VK api?
Good afternoon.
Tried to send a gift via VK api, method gifts.send
r = requests.get(f'https://api.vk.com/method/gifts.send?access_token=***&v=5.59&user_ids=123&privacy=1&message=****&gift_id=20924&guid=537')
{'error': {'error_code': 1190, 'error_msg': 'Cannot send this gift', 'request_params': [{'key': 'v', 'value': '5.59'}, {'key': 'user_ids', 'value': '192823159'}, {'key': 'privacy', 'value': '1'}, {'key': 'message', 'value': '****'}, {'key': 'gift_id', 'value': '20924'}, {'key': 'guid', 'value': '537'}, {'key': 'method', 'value': 'gifts.send'}, {'key': 'oauth', 'value': '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