Как авторизоваться в вк с помощью requests? Python
Вот код:
import requests
r = requests.get("https://oauth.vk.com/authorize?client_id=1&redirect_url=friend").json()
print(r)
{'error': 'invalid_request', 'error_description': 'OAuth authorization cannot be used from native VK applications'}
Что надо добавить чтобы авторизоваться в вк?