Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (node:18368) MaxListenersExceededWarning: Possible EventEmitter memory leak
- detected. 11 pipe listeners added. Use emitter.setMaxListeners() to increase
- limit
- undefined
- const request = require('request');
- var options = {
- uri: 'https://www.instagram.com/web/friendships/user_id/unfollow/',
- method: 'POST',
- headers: {
- 'origin': 'https://www.instagram.com',
- 'authority': 'www.instagram.com',
- 'x-csrftoken': '',
- 'referer' : 'https://www.instagram.com/',
- 'accept-encoding': 'gzip, deflate, br',
- 'cookie': 'csrftoken=;sessionid='
- }
- }
- request.get(options, function(req, res) {
- console.log(res);
- });
Add Comment
Please, Sign In to add comment