0.3.8 • Published 5 years ago

alexis v0.3.8

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Preview

image

How to work with alexis

npm i alexis

Login IG alexis

let Instagram = require('alexis');


/* Or login by session */
let session = JSON.parse(fs.readFileSync(require('path').resolve() + '/user.json', 'utf8'));
const ig = new Instagram(session);
 
    

Actions

  let ig = new Ig();
  (async() => {
    /* login */
     let session = await ig.login('your uname', 'your password')

    /* get your tl media */
      let x = await session.getTimeLineFeed();
    /* end of get */
    
    
    /* get your tl user stories */
      let x = await session.getTimelineStory();
    /* end of get */
    
    /* get MediaByUserName */
      let x = await session.getMediaByUsername('alfathdirk',  24); //limit 24
    /* end of get */
    
    /* like media */
      session.like('1617391803554904915');
    /* end like media */
    
    /* for comment */
      let ob = {
          id: '860417844570038475',
          code: 'vw0XiQASDLAOyz7qynA06nBTTARSd2hiesmWE0' ,
        }
      session.comment(...ob, 'test');
    /* end comment */
    
    /* get story  */
      let x = await session.story('alfathdirk')
    /* end story  */
    
      let x = await session.viewStory('alfathdirk');
      
      //upload photo
      let x = await session.uploadPhoto(require('path').resolve(__dirname)+ '/e30.jpg','comment');

    })()

Author

@alfathdirk

0.3.8

5 years ago

0.3.7

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago