{"_id":"instagram-web-api","_rev":"13-0079fbad6d0c22911dcad853d476cd64","name":"instagram-web-api","description":"Instagram Private Web API client written in JS","dist-tags":{"latest":"2.2.2"},"versions":{"0.0.1":{"name":"instagram-web-api","version":"0.0.1","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"test":"xo && ava","precommit":"lint-staged"},"files":["lib"],"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.2","request":"^2.83.0","request-promise-native":"^1.0.5","tough-cookie":"^2.3.3"},"devDependencies":{"ava":"^0.23.0","eslint-config-prettier":"^2.7.0","husky":"^0.14.3","lint-staged":"^4.3.0","prettier":"^1.8.2","xo":"^0.18.2"},"gitHead":"7b8087e7a7e4ed10e44609c48c875f82dfef7d59","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@0.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.8.1","_npmUser":{"name":"jlobos","email":"jlobitu@gmail.com"},"dist":{"integrity":"sha512-KHd88vZsGLltKupKVhO7IDQRA0+vcE57gBWYxlvVuBGbycqtEbmN/Xz+dUoIzxPpn+QeH328qTYDVpQFP9yjUw==","shasum":"1a64b43996ab196861e6855725765655ee8ac2a6","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-0.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkaj502NTBVOEk2gONGavL8kHGM/JEWUaHJEWWkHbNlAIhAPgoUdMiBRkmWgnJT7tG7MrhT2Fh8HT1XCK/NM3SfwSM"}]},"maintainers":[{"name":"jlobos","email":"jlobitu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api-0.0.1.tgz_1510283728216_0.7530041739810258"},"directories":{}},"0.2.0":{"name":"instagram-web-api","version":"0.2.0","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"test":"xo && ava","precommit":"lint-staged"},"files":["lib"],"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.2","request":"^2.83.0","request-promise-native":"^1.0.5","tough-cookie":"^2.3.3"},"devDependencies":{"ava":"^0.24.0","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","lint-staged":"^6.0.0","prettier":"^1.9.0","xo":"^0.18.2"},"gitHead":"bf6dd605610e19e331f2dc22f28e0c5c856721e2","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@0.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.2.0","_npmUser":{"name":"jlobos","email":"jlobitu@gmail.com"},"dist":{"integrity":"sha512-MHtRL+/FBINAa1yBu5A73O1RTWfBeoVrLdekNKOPnTTGaLG9IEFj1Rh3W1PmK21puDNgleATFSmm4jZosZOtCQ==","shasum":"108b5a6a1d4bd69c5383ed29a2a970fbcf64c496","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-0.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICF/RkMjdg31Dg+q0ieDcydwB2Gs56wJZfXjYKmxEXXlAiEA6pdkA+C0lTHovRGh0MikTGghLkiMY7Xy4HcZ3+Xidt0="}]},"maintainers":[{"name":"jlobos","email":"jlobitu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api-0.2.0.tgz_1512496240517_0.5969238721299917"},"directories":{}},"1.0.0":{"name":"instagram-web-api","version":"1.0.0","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"test":"xo && ava","precommit":"lint-staged"},"files":["lib"],"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.2","request":"^2.85.0","request-promise-native":"^1.0.5","tough-cookie":"^2.3.4","useragent-from-seed":"^1.0.1"},"devDependencies":{"ava":"^0.25.0","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","lint-staged":"^7.0.0","prettier":"^1.11.1","xo":"^0.20.3"},"gitHead":"3474556ffce08a4737951a37fa2d8a69bd27ad4a","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@1.0.0","_npmVersion":"5.7.1","_nodeVersion":"9.8.0","_npmUser":{"name":"jlobos","email":"jlobitu@gmail.com"},"dist":{"integrity":"sha512-mybBgdrPsRVdvvHO94ZuC/xoCVmKfHP4PID3MPZKUhw6pWFYw1V6pcw7KPiMFOxc42xxT1+XXBQGX99D2oSftg==","shasum":"c1c10390c4216c25e260c7d7e5dfd6eb765694fa","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-1.0.0.tgz","fileCount":4,"unpackedSize":19827,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHcNhZuK0ASqrT5ztzY0GkBbZ+dFXVANIE1doaoeCQQAiBXmq1UqgXUzXFZXXB8nvTqKv2Sldzr/IQe3t8UKMJ9Pg=="}]},"maintainers":[{"name":"jlobos","email":"jlobitu@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api_1.0.0_1521226192010_0.35046853516916854"},"_hasShrinkwrap":false},"1.1.0":{"name":"instagram-web-api","version":"1.1.0","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"test":"xo && ava","precommit":"lint-staged"},"files":["lib"],"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.2","request":"^2.85.0","request-promise-native":"^1.0.5","tough-cookie":"^2.3.4","useragent-from-seed":"^1.0.1"},"devDependencies":{"ava":"^0.25.0","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","lint-staged":"^7.0.0","prettier":"^1.11.1","xo":"^0.20.3"},"gitHead":"c891ab384684813a96a461d7c604f49044b18d6a","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@1.1.0","_npmVersion":"5.7.1","_nodeVersion":"9.8.0","_npmUser":{"name":"jlobos","email":"jlobitu@gmail.com"},"dist":{"integrity":"sha512-ONztDTuZIzdzEsh1gwKFVUPBzh6Ev26SsHfxvBWgsffFta5s1EVmN1brjLMJktLVVZ6lMJVFRr2Yh8kBF2bp3Q==","shasum":"16e6d232330f5be7dec037ac5b6c9dfc66249f1c","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-1.1.0.tgz","fileCount":4,"unpackedSize":24027,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrn+N1BVLYCCpu6Eq3SglZKLx4c2rje+zJp8IvonhApAiEAnwQy/uCp8zDiHl+Oxv4qWLT4RCupB5RL3y2c+dYcrAg="}]},"maintainers":[{"name":"jlobos","email":"jlobitu@gmail.com"},{"name":"timolins","email":"timo.lins@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api_1.1.0_1521495050936_0.14715450331019175"},"_hasShrinkwrap":false},"2.0.0":{"name":"instagram-web-api","version":"2.0.0","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"test":"xo && ava","precommit":"lint-staged"},"files":["lib"],"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.2","request":"^2.85.0","request-promise-native":"^1.0.5","tough-cookie":"^2.3.4","useragent-from-seed":"^1.0.1"},"devDependencies":{"ava":"^0.25.0","eslint-config-prettier":"^2.9.0","husky":"^0.14.3","lint-staged":"^7.0.0","prettier":"^1.11.1","xo":"^0.20.3"},"gitHead":"c111093570617a9683b5358667a40e86eb68e32b","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@2.0.0","_npmVersion":"5.7.1","_nodeVersion":"9.9.0","_npmUser":{"name":"jlobos","email":"jlobitu@gmail.com"},"dist":{"integrity":"sha512-YF2SVQTqcYGFsp8Y2SfVonSLs1gitkDSPbaDI/FteVDxqkLnkjHB+HHcJyudCZTikJIHNOZtd3R+aDG0L9n7DA==","shasum":"65dc457680eed6c48c3c1ab875fc48d2cac59c5e","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-2.0.0.tgz","fileCount":4,"unpackedSize":23806,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuMa5WeIdruCzYst6789Dhv1NJ6Xrh+RgFLy/+C8Rj2wIgPUxxbKS1LF7JPaEukTNwEMaWcdJBGjD4GNf3UBpJoOs="}]},"maintainers":[{"name":"jlobos","email":"jlobitu@gmail.com"},{"name":"timolins","email":"timo.lins@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api_2.0.0_1522456782740_0.1396877351002661"},"_hasShrinkwrap":false},"2.1.0":{"name":"instagram-web-api","version":"2.1.0","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"lint":"xo","test":"xo && ava"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"singleQuote":true},"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0,"no-await-in-loop":0,"no-unmodified-loop-condition":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.4","request":"^2.88.0","request-promise-native":"^1.0.8","tough-cookie":"^3.0.1","useragent-from-seed":"^1.0.1"},"devDependencies":{"ava":"^2.4.0","eslint-config-prettier":"^2.10.0","husky":"^3.0.9","lint-staged":"^9.4.3","prettier":"^1.19.1","xo":"^0.20.3"},"gitHead":"63773859ed0198fc6a7b9d11e00caa7d17c16d23","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@2.1.0","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-0VuVhFrtu0veY2Ag0pWCkAppRb52cjJvmXbJ1dKJHpPpOTbnLnQUXxrGmwmlwDtK04xLP174yq2bpJRkzn3Ddw==","shasum":"17f0c4210376c90dc73959fb0ddcfb995f0f1ead","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-2.1.0.tgz","fileCount":4,"unpackedSize":29356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0mB7CRA9TVsSAnZWagAAOV8P/RKte4XLGoeoFTz6zucf\nfS3wLYP4rs4FNU4dRUPSlMEO+DDxl09fjTFfD9C79P3ceHCdYdLK+/b6Kvwc\nazwmrXvy9Mew0e2EGduG/PlPUWDV/KINeUZFO7N7zFrH6aJae/Rfc79d9fq9\ni6Sfxld/crdfLjPVISb8ymRJOdY79yKAKn3cnXkBWZvYhR5j4sA/sa075zpZ\nbxsbGHCKMFCmqsc4k7z+zu3A4gzVdNC2W+XYOHkgPF3X7SLg07+tC08jB4Ii\nMFz6xZlCXEivhdR6MrDADdoHB7PMoskJ+nAZj9nhZqQZ6yLnqEhCcIPt1Fwe\noQeRbmALrTmMAkGUX6t8XBZhsy+pc36fW1pBGjcyE7APiCSoYrwLk3ISV+hj\n4ElxmwQ+VIEigVInmT+/SaDC6rFNCaBrCEhK+6PmmU84AfPU3zB9jLtSng9o\nqXurVoG9YcIEaspO1DVVcL0Am3JbEOr8cy2i6SMfN1RldxnAiphJsq2H3XSi\nLHXozz23R7YifyZORjDCQVi26OH+O4+Yj7kGmCXOb6u0o1O3jFoQeojYBdiK\n9SLpMJsjZ8eK+Qpt3gfOyCI0k/2pTVOd+eTMEH1ldMcWic7ruTZ7l0EEmVgc\nViIldKKGKhr0RUMwiXxV3shrUSZudhTZYVq2S1Kl+DyVniP84ou0HweJm638\n5E2r\r\n=O+CG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSGOTn3zcZR3iuuoY4K0DfeecBWTGc5HM37TA6dSztYAiBVo8HdsIpEdJapEL7V5X4aI+yWTlVJYKmwpvHhQZ6rQQ=="}]},"maintainers":[{"email":"hirokio@bu.edu","name":"hirokiosame"},{"email":"me@ivkos.com","name":"ivkos"},{"email":"jlobitu@gmail.com","name":"jlobos"},{"email":"alexandr.revin@gmail.com","name":"revall"},{"email":"timo.lins@gmail.com","name":"timolins"}],"_npmUser":{"name":"revall","email":"alexandr.revin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api_2.1.0_1574068346674_0.6521575155257522"},"_hasShrinkwrap":false},"2.2.0":{"name":"instagram-web-api","version":"2.2.0","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"lint":"xo","test":"xo && ava"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"singleQuote":true},"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0,"no-await-in-loop":0,"no-unmodified-loop-condition":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.4","request":"^2.88.0","request-promise-native":"^1.0.8","tough-cookie":"^3.0.1","useragent-from-seed":"^1.0.1"},"devDependencies":{"ava":"^2.4.0","eslint-config-prettier":"^2.10.0","husky":"^3.0.9","lint-staged":"^9.4.3","prettier":"^1.19.1","xo":"^0.20.3"},"gitHead":"833cf727d7609d2232e8bd9b53143be68d81eb23","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@2.2.0","_nodeVersion":"12.13.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-/Q9UeV3fZpaz16BNSuty2QwN3my5zWHINTBlswqMNURy1AD1Zw3Qn8kPFnT6nL4UenJu0dTSLEYb2vpH1YFMzw==","shasum":"e1c8b9e88d4cd24e040a75f2596f894d189a4055","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-2.2.0.tgz","fileCount":4,"unpackedSize":33708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexaBnCRA9TVsSAnZWagAA0iAQAISVSWZJ/r9CsGTXO54R\nWEuLE9xVIlxX5KPmOXcqdYEdDfdDO7VgY2bZ3FiQnEZh+Bu/V9YadCjZ9CyC\nLw8ykRofeva1sqNnpAyESSrXQH6c4WaairnS30qfPF4t836qI1D0yx3Vb3PX\n2M6zmesYkXObKpGNSYTth+lYIFyLhx4BH5J3uov09DuUMK9hX+O9m5vhNoOc\n1QpKL3eLEoUXQKiVNlXez4bqpcgn6roKA0Fg0rDcOLLqv9THkOcbN3D+TAv3\nz2mpV57/s1gsAay7XXTCMuXMZ1DJgRgoNuSUpeDTTqw0Furug5JUzD63iOzg\nWDsx6MZo0Kv367Us6+oEznBRbQAEVfRMamKLYCxsKHZhwJWg7wuoSGB7va8Q\njUYSfVK3nilfUbTy+9XVP6sU4v7eweBg1ElKEB5vgGjtTbzHBSE+X5jCxSkh\nGh2ljgS17MkbpdLCHIZaaNYFj50e8ypLCLY8eJjMrvX9CsVgExEA2TVIatAj\n8QBZMDjIo4hipTzXqJOg5ZcAW5lewVJQw7W1Pq50X/47UfjgNE9geHpjdrio\niv4IYNRtHUYIj4ivhf/PGV++0pVHV7XqAITj0HR+EAjOod3bPZMkVWLIy5rr\n5EwXf1XeE9eMK2ljm5b5h9IauTxF1kP3ja7u4uUefZMWrIrPPCQPwRwx6hLR\nJaN6\r\n=qS7N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiKHmfVJLzbHT3rfnGdxlfY0zDIug0bsc34Ynx2OcUagIgf/P/sLGvLG44NKTAW6+eiY9PuzUGaNPjuJkCbFKLPUc="}]},"maintainers":[{"email":"hirokio@bu.edu","name":"hirokiosame"},{"email":"me@ivkos.com","name":"ivkos"},{"email":"jlobitu@gmail.com","name":"jlobos"},{"email":"alexandr.revin@gmail.com","name":"revall"},{"email":"timo.lins@gmail.com","name":"timolins"}],"_npmUser":{"name":"revall","email":"alexandr.revin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api_2.2.0_1590009958185_0.8052049203161948"},"_hasShrinkwrap":false},"2.2.1":{"name":"instagram-web-api","version":"2.2.1","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"lint":"xo","test":"xo && ava"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"singleQuote":true},"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0,"no-await-in-loop":0,"no-unmodified-loop-condition":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.4","request":"^2.88.0","request-promise-native":"^1.0.8","tough-cookie":"^3.0.1","useragent-from-seed":"^1.0.1"},"devDependencies":{"ava":"^2.4.0","eslint-config-prettier":"^2.10.0","husky":"^3.0.9","lint-staged":"^10.2.11","prettier":"^1.19.1","xo":"^0.20.3"},"gitHead":"16506cefb0cbf9a2fa990593780cc1217729c3da","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@2.2.1","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-7q2MYmAfTCUgJR/fYwjaB7m3IG848w8d9hRuin9SFTRdw+VcNmi/R9nebQMzmAiFwEdg1jE42W9THKkwDZwPrQ==","shasum":"fc4be0cb7d255277ba96e9f2671b257c7e096f93","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-2.2.1.tgz","fileCount":4,"unpackedSize":35677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfK7jWCRA9TVsSAnZWagAAnCgQAIi4jtUMd4XxNo6UqWNa\nA72IhqnaYwA4E++imIJQyHIsukNOEImtdv0YAoMQkhouaKGFd2HDglaJtiXo\n9H36A+gM5hP+GawgaEiI/TcW+1P0dCGEBDkCQU5qADfYWpceCJQprYxhInCp\nuNUea0FnEsiXFOwnA+WAPGEQun6paCeJXvysS1EUS83sa7ZjY99V9jVLZfGY\nfmcjbzPNTHuiZ68NIaBHJR71QszvZ5zujYgZ2xig41pDVBkrS/AM9MrDXPdy\nHEXuMQxh/gHGKn0uK1r3x4J4nA332coZOdpLZF2MHRhtl1syzT6xTTrEGHcs\nKlu7a6rlAn0H5FoxXndlEK0Y7KA2xJZn9amLp1zZM/Ktt33mCGVdUpWMWES3\n5SKQ3fSD9HGwygZl4SM4mXRmGKhPaoSWxF3r77oHFh7Jn1SZRTgf50AfZHQd\nm4iqvzGMpt8WzOJPajlJGR/lIDjDqLmKIEXLbQsI5b+erddH48wKoy1yCmIt\nqLOLWdwl9qdcFqgNCEOTDgrZZDzKyPwBk8Jsbcm0LPQPFDjS+cNjj4LOaouh\nGWX33Ja5zCfpmLw8+1kbmQLMjNdf+IewnZGm1AIpDYGkbqZxH5XwNvhSkyMX\nKLozqgVFb5vX8vvKFdTx5ow3H6qUE+WmmBmIUftrviCTonNpwI6PI41Qwh3O\nRk8N\r\n=nLmD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcnzJvE/Z9ERoqoi8fWOkKSkKZ1IGRTpl4n8j7fFs2zAiEAvuL7sq7wHLKvPIl05zmMx+bTF/qTYoRM6k3kdK8l5f0="}]},"maintainers":[{"email":"hirokio@bu.edu","name":"hirokiosame"},{"email":"me@ivkos.com","name":"ivkos"},{"email":"jlobitu@gmail.com","name":"jlobos"},{"email":"alexandr.revin@gmail.com","name":"revall"},{"email":"timo.lins@gmail.com","name":"timolins"}],"_npmUser":{"name":"revall","email":"alexandr.revin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api_2.2.1_1596700886179_0.3459490252410491"},"_hasShrinkwrap":false},"2.2.2":{"name":"instagram-web-api","version":"2.2.2","description":"Instagram Private Web API client written in JS","license":"MIT","main":"lib/index.js","repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"scripts":{"lint":"xo","test":"xo && ava"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"prettier":{"semi":false,"singleQuote":true},"keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"xo":{"extends":"prettier","rules":{"camelcase":0,"no-await-in-loop":0,"no-unmodified-loop-condition":0}},"lint-staged":{"*.js":["xo --quiet","prettier --single-quote --no-semi --write","git add"]},"dependencies":{"is-url":"^1.2.4","request":"^2.88.0","request-promise-native":"^1.0.8","tough-cookie":"^3.0.1","useragent-from-seed":"^1.0.1"},"devDependencies":{"ava":"^2.4.0","eslint-config-prettier":"^2.10.0","husky":"^3.0.9","lint-staged":"^10.2.11","prettier":"^1.19.1","xo":"^0.20.3"},"gitHead":"e85a0f603e5be9e147606feed73a5057d74c5c60","bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","_id":"instagram-web-api@2.2.2","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-oDIQKY6AhewbiKb8o+/NLzPkrluRjkgC0v6Pche0npexVJzpiNeS4IDg7ZfMQrNUTguFp/khgjXRBOp3FOwiGw==","shasum":"9073477a313e1ab4e0ff1a1713370162d67d4ff9","tarball":"https://registry.npmjs.org/instagram-web-api/-/instagram-web-api-2.2.2.tgz","fileCount":4,"unpackedSize":35677,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfK7xMCRA9TVsSAnZWagAADnsP/itI/876oJaQkpqdIib6\n+oiWgwveydQjyAmn4co53F7qn9AlK/gIKJWE0ogAG4PaiZBUkh0YWQyV55Cw\nIBLygJZttmOZvJQG4NKzzOSnqUufO3dCms9wDUfCAM0csTVhXA1loT/bbywz\nwp95W/6r6U65dLSpgFz35U9AAZZLU4d8eg7DBbswR629KcczT6TMdMru8K0i\nbI4Pd/O5YPaKuAc8I4LxbNLw20NP9hWIiIGEKMLhFO7fN2XGU4XrW7m8cZX7\n4oSUHarTxIvIrKXpfiFJwQbJODldIlmjPmMHvBLDwLnF+fTcL4j33K9b+AzS\nW5HTM7CY4uSmu0Nq1SyS5zq7rJ42ITXLMAjbKDeDAKjM98CCMCoLlh8/QpSn\nRnhU+0A8s6EJQLXmpz/jls26ho0Ga6j0yj9M0n5Om7nkYgfXnSRdsXmRWolJ\n6R4coxjJDtMzUmiNuidnhJHeuACedfdnEqKGuyNfYmQdJzXrE2I8ghpEnBxf\n7NFSu6axQskd72W8eydKu9w8ku12g5DRVuRG4f4C/xryWQquBM/TCdsfNLAH\nGRmUG8RmQrZd7p44/AmpLxuHQf3Lfg+U4DCHjHTvkDfkR4pTyCiiTnUQ6O+s\nPtqrC0gNnodYM7Rm+H29n6mZN9+M/ZGh0UnEDKMiPvL10T+TTaMsU0/vHsck\nDtw1\r\n=E5Iy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUDKCgGfWBCeq3lw2N8ZV4PPIila5ff8bFin4Rsa2sywIhAOMfW3jn0r+jWeUzDE1T0Te7FxtTsF7BPQtzO4gMfCbY"}]},"maintainers":[{"email":"hirokio@bu.edu","name":"hirokiosame"},{"email":"me@ivkos.com","name":"ivkos"},{"email":"jlobitu@gmail.com","name":"jlobos"},{"email":"alexandr.revin@gmail.com","name":"revall"},{"email":"timo.lins@gmail.com","name":"timolins"}],"_npmUser":{"name":"revall","email":"alexandr.revin@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/instagram-web-api_2.2.2_1596701771602_0.7745446453453235"},"_hasShrinkwrap":false}},"readme":"<h1 align=\"center\">\n  <img width=\"72px\" src=\"https://firebasestorage.googleapis.com/v0/b/random-storage-332ce.appspot.com/o/instagram.svg?alt=media&token=5fe11096-daee-43c1-8d5f-8a77c9f46485\">\n</h1>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/instagram-web-api\"><img alt=\"NPM version\" src=\"https://badge.fury.io/js/instagram-web-api.svg\"></a>\n  <a href=\"https://circleci.com/gh/jlobos/instagram-web-api\"><img alt=\"Build Status\" src=\"https://circleci.com/gh/jlobos/instagram-web-api.svg?style=shield\"></a>\n  <a href=\"https://github.com/sindresorhus/xo\"><img alt=\"XO code style\" src=\"https://img.shields.io/badge/code_style-XO-5ed9c7.svg\"></a>\n  \n</p>\n\n### A Instagram Private Web API client 🤳✨❤️\n\nSimple, easy and very complete implementation of the Instagram private web API.\n\n- Support for all the main functions of [Instagram Web](https://www.instagram.com/)\n- Well tested, CI\n- All test runs daily\n\n## Install\n\n```bash\nnpm install instagram-web-api\n```\n\n## Usage\n\nIntance `Instagram` and call `login` method; this stores the credentials in memory.\n\n```js\nconst Instagram = require('instagram-web-api')\nconst { username, password } = process.env\n\nconst client = new Instagram({ username, password })\n\nclient\n  .login()\n  .then(() => {\n    client\n      .getProfile()\n      .then(console.log)\n  })\n```\n\nUsing `async`/`await` in Node >= 8\n\n```js\nconst Instagram = require('instagram-web-api')\nconst { username, password } = process.env\n\nconst client = new Instagram({ username, password })\n\n;(async () => {\n  await client.login()\n  const profile = await client.getProfile()\n\n  console.log(profile)\n})()\n```\n\nSave cookies to disk by using a `though-cookie` store.\n\n```js\n// Packages\nconst Instagram = require('instagram-web-api')\nconst FileCookieStore = require('tough-cookie-filestore2')\n\nconst { username, password } = process.env // Only required when no cookies are stored yet\n\nconst cookieStore = new FileCookieStore('./cookies.json')\nconst client = new Instagram({ username, password, cookieStore })\n\n;(async () => {\n  // URL or path of photo\n  const photo =\n    'https://scontent-scl1-1.cdninstagram.com/t51.2885-15/e35/22430378_307692683052790_5667315385519570944_n.jpg'\n\n  await client.login()\n\n  // Upload Photo to feed or story, just configure 'post' to 'feed' or 'story'\n  const { media } = await client.uploadPhoto({ photo: photo, caption: 'testing', post: 'feed' })\n  console.log(`https://www.instagram.com/p/${media.code}/`)\n})()\n```\n\n## API Reference\n\n* [Instagram](#instagramcredentials-opts)\n  * [new Instagram({ username, password, cookieStore }, { language, proxy, requestOptions })](#instagramcredentials-opts)\n  * [.login({ username, password })](#logincredentials)\n  * [.logout()](#logout)\n  * [.getHome()](#gethome)\n  * [.getUserByUsername({ username })](#getuserbyusernameparams)\n  * [.getFollowers({ userId, first, after })](#getfollowersparams)\n  * [.getFollowings({ userId, first, after })](#getfollowingsparams)\n  * [.getActivity()](#getactivity)\n  * [.getProfile()](#getprofile)\n  * [.updateProfile({ name, email, username, phoneNumber, gender, biography, website, similarAccountSuggestions })](#updateprofileparams)\n  * [.changeProfilePhoto({ photo })](#changeprofilephotoparams)\n  * [.deleteMedia({ mediaId })](#deletemediaparams)\n  * [.uploadPhoto({ photo, caption, post })](#uploadphotoparams)\n  * [.getMediaFeedByLocation({ locationId })](#getmediafeedbylocationparams)\n  * [.getMediaFeedByHashtag({ hashtag })](#getmediafeedbyhashtagparams)\n  * [.locationSearch({ query, latitude, longitude })](#locationsearchparams)\n  * [.getMediaByShortcode({ shortcode })](#getmediabyshortcodeparams)\n  * [.addComment({ mediaId, text })](#addcommentparams)\n  * [.deleteComment({ mediaId, commentId })](#deletecommentparams)\n  * [.getChallenge({ challengeUrl })](#getchallengeparams)\n  * [.updateChallenge({ challengeUrl, choice, securityCode })](#updatechallengeparams)\n  * [.resetChallenge({ challengeUrl })](#resetchallengeparams)\n  * [.replayChallenge({ challengeUrl })](#replaychallengeparams)\n  * [.approve({ userId })](#approveparams)\n  * [.ignore({ userId })](#ignoreparams)\n  * [.follow({ userId })](#followparams)\n  * [.unfollow({ userId })](#unfollowparams)\n  * [.block({ userId })](#blockparams)\n  * [.unblock({ userId })](#unblockparams)\n  * [.like({ mediaId })](#likeparams)\n  * [.unlike({ mediaId })](#unlikeparams)\n  * [.save({ mediaId })](#saveparams)\n  * [.unsave({ mediaId })](#unsaveparams)\n  * [.search({ query, context })](#searchparams)\n  * [.getPhotosByHashtag({hashtag, first, after})](#gethastagphotosparams)\n  * [.getPhotosByUsername({username, first, after})](#getphotosbyusernameparams)\n  * [.getPrivateProfilesFollowRequests(cursor)](#getPrivateProfilesFollowRequests)\n  * [.getChainsData({ userId })](#getChainsData)\n  * [.getMediaLikes({ shortcode, first, after })](#getMediaLikesParams)\n  * [.getMediaComments({ shortcode, first, after })](#getMediaCommentsParams)\n\n### Instagram(credentials, opts)\n```js\nconst client = new Instagram({ username: '', password: '' }, { language: 'es-CL' })\n```\n> Initializes the client.\n- `credentials`\n  - `username`: The username of account\n  - `password`: The password of account\n  - `cookieStore`: An optional [`though-cookie`](https://www.npmjs.com/package/tough-cookie) cookie storage, which allows for persistent cookies. Default is `undefined`\n- `opts`\n  - `language`: The language of response from API. Default is `en-US`\n  - `proxy`: `String` of a proxy to tunnel all requests. Default is `undefined` \n\n### login(credentials)\n```js\nconst { username, password, cookies } = await client.login({ username: '', password: '' })\nconst { authenticated, user } = await client.login({ username: '', password: '' })\n```\n\n> Login in the account, this method returns `user` (`true` when username is valid) and `authenticated` (`true` when login was successful)\n- `credentials`\n  - `username`: The username of account\n  - `password`: The password of account\n\n### logout()\n```js\nawait client.logout()\n```\n> Logout in the account.\n\n### getHome()\n```js\nconst feed = await client.getHome('KGEAxpEdUwUrxxoJvxRoQeXFGooSlADHZ8UaDdSWbnOIxxoUUhyciJ7EGlxNlZjaYcUaXTgUM00qyBrgBhUsLezIGqVTlxqausga5W-fVax9xRryaBdN1EnIGvdQFgzxoMgaFoLO7v7xWQA=')\n```\n> Get home feed timeline, media shared by the people you follow.\n- `params`\n  - `end_cursor` (`String`) for pagination\n\n### getUserByUsername(params)\n```js\nconst instagram = await client.getUserByUsername({ username: 'instagram' })\nconst me = await client.getUserByUsername({ username: client.credentials.username })\n```\n> Get user by username, this method not require authentication for public profiles.\n- `params`\n  - `username`: The username of the profile\n\n### getFollowers(params)\n```js\nconst followers = await client.getFollowers({ userId: '1284161654' })\n```\n> Get followers for given userId. Be aware that the response gets slightly altered for easier usage.\n- `params`\n  - `userId`: The user id\n  - `first`: Amount of followers to request. Default is `20`\n  - `after`: Optional `end_cursor` (`String`) for pagination.\n\n### getFollowings(params)\n```js\nconst followings = await client.getFollowings({ userId: '1284161654' })\n```\n> Get followings for given userId. Be aware that the response gets slightly altered for easier usage.\n- `params`\n  - `userId`: The user id\n  - `first`: Amount of followings to request. Default is `20`\n  - `after`: Optional `end_cursor` (`String`) for pagination. \n\n### getActivity()\n```js\nconst activity = await client.getActivity()\n```\n> Get activity of account, news following, liked, etc.\n\n### getProfile()\n```js\nconst profile = await client.getProfile()\n```\n> Get profile the account `first_name`, `last_name`, `email`, `username`, `phone_number`, `gender`, `birthday`, `biography`, `external_url` and `chaining_enabled`.\n\n### updateProfile(params)\n```js\nawait client.updateProfile({ biography: '❤️', website: 'https://jlobos.com/', gender: 1 })\n```\n> Update profile the account.\n- `params`\n  - `name`: The full name. Default is ` `\n  - `email`: The email of account. Default is ` `\n  - `username`: The username of account. Default is `client.credentials.username`\n  - `phoneNumber`: The Phone Number. Default is ` `\n  - `gender`: `Number` `1` male, `2` female and `3` not specified\n  - `biography`: The Bio. Default is ` `\n  - `website`: The Website. Default is ` `\n  - `similarAccountSuggestions`: `Boolean` Include your account when recommending similar accounts people might want to follow. Default is `true`\n\n### changeProfilePhoto(params)\n```js\nconst fs = require('fs')\n\nconst photo = fs.join(__dirname, 'photo.jpg')\nawait client.changeProfilePhoto({ photo })\n```\n> Change the profile photo.\n- `params`\n  - `photo`: A `String` of path file or URL\n\n### deleteMedia(params)\n```js\nawait client.deleteMedia({ mediaId: '1442533050805297981' })\n```\n> Delete a media, photo, video, etc. by the id.\n- `params`\n  - `mediaId`: The media id\n\n### uploadPhoto(params)\n```js\nconst photo = 'https://scontent-scl1-1.cdninstagram.com/t51.2885-15/e35/16465198_658888867648924_4042368904838774784_n.jpg'\nawait client.uploadPhoto({ photo, caption: '❤️', post: 'feed' })\n```\n> Upload a photo to Instagram. Only jpeg images allowed.\n- `params`\n  - `photo`: A `String` of path file or URL\n  - `caption`: The caption of photo. Default is ` `\n  - `post`: The local post, `feed` or `story`\n\n### getMediaFeedByLocation(params)\n```js\nconst location = await client.getMediaFeedByLocation({ locationId: '26914683' })\n```\n> Get latitude, longitude, top posts, last media, country, city, and more related to the location.\n- `params`\n  - `locationId`: The location id\n\n### getMediaFeedByHashtag(params)\n```js\nconst tag = client.getMediaFeedByHashtag({ hashtag: 'unicorn' })\n```\n> Explore last media and top posts feed related to a hashtag.\n- `params`\n  - `hashtag`: A hashtag, not including the \"#\"\n\n### locationSearch(params)\n```js\nconst venues = client.locationSearch({ query: 'chile', latitude: -33.45, longitude: -70.6667 })\n```\n> Search venues by latitude and longitude.\n- `params`\n  - `latitude`: Latitude\n  - `longitude`: Longitude\n  - `query`: A optional location name. Default is ` `\n\n### getMediaByShortcode(params)\n```js\nconst media = await client.getMediaByShortcode({ shortcode: 'BQE6Cq2AqM9' })\n```\n> Get data of a media by the Instagram shortcode\n- `params`\n  - `shortcode`: A shortcode\n\n### addComment(params)\n```js\nawait client.addComment({ mediaId: 1442533050805297981, text: 'awesome' })\n```\n> Add comment to a media item.\n- `params`\n  - `mediaId`: The media id\n  - `text`: Comment text\n  - `replyToCommentId`: Optional comment id to which to reply\n\n### deleteComment(params)\n```js\nawait client.deleteComment({ mediaId: '1442533050805297981', commentId: '17848908229146688' })\n```\n> Delete a comment.\n- `params`\n  - `mediaId`: The media id\n  - `commentId`: The comment id\n\n### getChallenge(params)\n```js\nawait client.getChallenge({ challengeUrl: '/challenge/1284161654/a1B2c3d4E6/' })\n```\n> Get information about a challenge.\n- `params`\n  - `challengeUrl`: A `String` with a challenge path\n\n### updateChallenge(params)\n```js\nconst challengeUrl = '/challenge/1284161654/a1B2c3d4E6/'\n\nawait client.updateChallenge({ challengeUrl, choice: 0 })\nawait client.updateChallenge({ challengeUrl, securityCode: 123456  })\n```\n> Request or submit a verification code for the given challenge.\n- `params`\n  - `challengeUrl`: A `String` with a challenge path\n  - `choice`: `Number` `0` for phone and `1` for email. Default is ``\n  - `securityCode`: `Number` the received verification code for the challenge. Default is ``\n\n### resetChallenge(params)\n```js\nawait client.resetChallenge({ challengeUrl: '/challenge/1284161654/a1B2c3d4E6/' })\n```\n> Reset a challenge to start over again.\n- `params`\n  - `challengeUrl`: A `String` with a challenge path\n\n### replayChallenge(params)\n```js\nawait client.replayChallenge({ challengeUrl: '/challenge/1284161654/a1B2c3d4E6/' })\n```\n> Request a new verification message.\n- `params`\n  - `challengeUrl`: A `String` with a challenge path\n\n### approve(params)\n```js\nawait client.approve({ userId: '1284161654' })\n```\n> Approve a friendship request.\n- `params`\n  - `userId`: The user id\n\n### ignore(params)\n```js\nawait client.ignore({ userId: '1284161654' })\n```\n> Reject a friendship request.\n- `params`\n  - `userId`: The user id\n\n### follow(params)\n```js\nawait client.follow({ userId: '1284161654' })\n```\n> Follow a user.\n- `params`\n  - `userId`: The user id\n\n### unfollow(params)\n```js\nawait client.unfollow({ userId: '1284161654' })\n```\n> Unfollow a user.\n- `params`\n  - `userId`: The user id\n\n### block(params)\n```js\nawait client.block({ userId: '1284161654' })\n```\n> Block a user.\n- `params`\n  - `userId`: The user id\n\n### unblock(params)\n```js\nawait client.unblock({ userId: '1284161654' })\n```\n> Unblock a user.\n- `params`\n  - `userId`: The user id\n\n### like(params)\n```js\nawait client.like({ mediaId: '1442533050805297981' })\n```\n> Like a media item.\n- `params`\n  - `mediaId`: The media id\n\n### unlike(params)\n```js\nawait client.unlike({ mediaId: '1442533050805297981' })\n```\n> Unlike a media item.\n- `params`\n  - `mediaId`: The media id\n\n### save(params)\n```js\nawait client.save({ mediaId: '1442533050805297981' })\n```\n> Save a media item.\n- `params`\n  - `mediaId`: The media id\n\n### unsave(params)\n```js\nawait client.unsave({ mediaId: '1442533050805297981' })\n```\n> Unsave a media item.\n- `params`\n  - `mediaId`: The media id\n\n### search(params)\n```js\nawait client.search({ query: 'unicorn' })\n```\n> Search users, places, or hashtags.\n- `params`\n  - `query`: Query\n  - `context`: The context of search, `hashtag`, `place`, `user` or `blended`. Default is `blended`\n  \n  \n  \n### getPhotosByHashtag(params)\n```js\nawait client.getPhotosByHashtag({ hashtag: 'unicorn' })\n```\n> Get photos for hashtag.\n- `params`\n  - `hashtag`: A `String` with a hashtag\n  - `first`:  A `number` of records to return\n  - `after`: The query cursor `String` for pagination\n  \n### getPhotosByUsername(params)\n  ```js\n  await client.getPhotosByUsername({ username: 'unicorn' })\n  ```\n  > Gets user photos.\n  - `params`\n    - `username`: A `String` with a hashtag\n    - `first`:  A `number` of records to return\n    - `after`: The query cursor `String` for pagination\n\n### getPrivateProfilesFollowRequests\n  ```js\n  await client.getPrivateProfilesFollowRequests(cursor)\n  ```\n\n### getChainsData\n  ```js\n  await client.getChainsData({ userId })\n  ```\n  > This will return the similar accounts, that you see, when you click on the ARROW in a profile.\n- `params`\n  - `userId`: The user id\n  \n### getMediaLikes(params)\n  ```js\n  await client.getMediaLikes({ shortcode: 'B-0000000', first: '49', after: '' })\n  ```\n  > This will return the media likes.\n  - `params`\n    - `shortcode`: The shortcode media like this: https://www.instagram.com/p/B-00000000/, only put shortcode like this : B-000000000\n    - `first`:  A `number` of records to return max is `49`\n    - `after`: The query cursor `String` for pagination\n\n### getMediaComments(params)\n  ```js\n  await client.getMediaComments({ shortcode: 'B-0000000', first: '12', after: '' }).catch((error) => {\n    console.log(error);\n  })\n  .then((response) => {\n    console.log(response);\n  });\n  \n  //The query cursor 'after' maybe return an array, if array you need to convert like this: \n  let pointer = response.page_info.end_cursor;\n  // this will try to convert array to json stringify\n\ttry{\n\t\t\tpointer = JSON.parse(pointer);\n\t\t\tpointer = JSON.stringify(pointer);\n\t}catch(e){\n\t\t\tconsole.log('Pointer is not array!, don't need to be converted!');\n\t}\n  \n  ```\n  > This will return the media comments.\n  - `params`\n    - `shortcode`: The shortcode media like this: https://www.instagram.com/p/B-00000000/, only put shortcode like this : B-000000000\n    - `first`:  A `number` of records to return max is `49`\n    - `after`: The query cursor `String` for pagination\n\n## License\n\nMIT © [Jesús Lobos](https://jlobos.com/)\n","maintainers":[{"email":"hirokio@bu.edu","name":"hirokiosame"},{"email":"me@ivkos.com","name":"ivkos"},{"email":"jlobitu@gmail.com","name":"jlobos"},{"email":"alexandr.revin@gmail.com","name":"revall"},{"email":"timo.lins@gmail.com","name":"timolins"}],"time":{"modified":"2022-05-06T00:06:54.287Z","created":"2017-11-10T03:15:28.341Z","0.0.1":"2017-11-10T03:15:28.341Z","0.2.0":"2017-12-05T17:50:40.619Z","1.0.0":"2018-03-16T18:49:52.047Z","1.1.0":"2018-03-19T21:30:50.982Z","2.0.0":"2018-03-31T00:39:42.839Z","2.1.0":"2019-11-18T09:12:26.840Z","2.2.0":"2020-05-20T21:25:58.321Z","2.2.1":"2020-08-06T08:01:26.326Z","2.2.2":"2020-08-06T08:16:11.776Z"},"homepage":"https://github.com/jlobos/instagram-web-api#readme","keywords":["❤️","🤳","📷","instagram","private","api","web","upload","like","comment","save","follow","search","ig","photo","selfie"],"repository":{"type":"git","url":"git+https://github.com/jlobos/instagram-web-api.git"},"author":{"name":"Jesus Lobos","email":"jlobitu@gmail.com","url":"https://jlobos.com"},"bugs":{"url":"https://github.com/jlobos/instagram-web-api/issues"},"license":"MIT","readmeFilename":"README.md"}