Guest User

Untitled

a guest
Jan 24th, 2018
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. (node:18368) MaxListenersExceededWarning: Possible EventEmitter memory leak
  2. detected. 11 pipe listeners added. Use emitter.setMaxListeners() to increase
  3. limit
  4. undefined
  5.  
  6. const request = require('request');
  7.  
  8. var options = {
  9. uri: 'https://www.instagram.com/web/friendships/user_id/unfollow/',
  10. method: 'POST',
  11. headers: {
  12. 'origin': 'https://www.instagram.com',
  13. 'authority': 'www.instagram.com',
  14. 'x-csrftoken': '',
  15. 'referer' : 'https://www.instagram.com/',
  16. 'accept-encoding': 'gzip, deflate, br',
  17. 'cookie': 'csrftoken=;sessionid='
  18. }
  19. }
  20.  
  21. request.get(options, function(req, res) {
  22. console.log(res);
  23. });
Add Comment
Please, Sign In to add comment