Skip to content

portrunban/node-post-authorization-vk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RU

Авторизация на сайте vk.com с помощью обычного запроса. Возвращает cookie.

У пользователя должна быть обязательна отключена двухфакторная аутентификация, требующая коды подтверждения после логина и пароля.

Для примера после авторизации заходит в личные сообщения и выводит в консоль список последних диалогов.

В env необходимо указать имя пользователя и пароль

LOGIN=123456789_example
PASSWORD=saSDAfaw_example

Для запуска необходимо открыть консоль и ввести последовательно команды

npm i
npm run start

Для работы у вас должна быть установлена платформа Node Js https://nodejs.org/en/

EN

Authorization on the site vk.com using a simple request. Returns a cookie.

The user must have Two-factor authentication disabled, which requires confirmation codes after the username and password.

For example, after logging in, redirect to private messages page and send to Console Log last dialogs

You need to write the user name and password in env

LOGIN=123456789_example
PASSWORD=saSDAfaw_example

Start

You must enter the following commands in the terminal

npm i
npm run start

You must have the Node Js platform installed to work https://nodejs.org/en/

About

Simple authorization with post request vk.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published