UNPKG

node-instagram

Version:

Instagram api client for node that support promises

14 lines (11 loc) 290 B
// require module const Instagram = require('../../lib').default; // Create a new instance. const instagram = new Instagram({ clientId: 'your-client-id', accessToken: 'user-access-token', }); // Get user info instagram.get('users/self', (err, data) => { console.log(err, data); });