From 388e7a48d0085e65675dfb94b7b6cade7559a3ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Stein?= Date: Tue, 24 Jul 2018 21:39:44 -0300 Subject: [PATCH] Update README.md I think after bc782961cb8370b90fe1ecb22cd0ce9c09a61986 Cookies are no longer used for login ... --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index f227868..6cb5a44 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ const client = new Instagram({ username, password, cookieStore }) ## API Reference * [Instagram](#instagramcredentials-opts) - * [new Instagram({ username, password, cookies, cookieStore }, { language, proxy })](#instagramcredentials-opts) + * [new Instagram({ username, password, cookieStore }, { language, proxy })](#instagramcredentials-opts) * [.login({ username, password })](#logincredentials) * [.logout()](#logout) * [.getHome()](#gethome) @@ -131,7 +131,6 @@ const client = new Instagram({ username: '', password: '' }, { language: 'es-CL' - `credentials` - `username`: The username of account - `password`: The password of account - - `cookies`: An optional `Array` of cookies, only needed for restore session. Default is `undefined` - `cookieStore`: An optional [`though-cookie`](https://www.npmjs.com/package/tough-cookie) cookie storage, which allows for persistent cookies. Default is `undefined` - `opts` - `language`: The language of response from API. Default is `en-US`