Spaces:
Paused
Paused
Update lib/instagram.js
Browse files- lib/instagram.js +3 -3
lib/instagram.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
const { iwaTag, iwa, iwaId, iwaIdUrl } = require('instagram-without-api-node');
|
| 2 |
|
| 3 |
-
const _cookie =
|
| 4 |
-
const _userAgent =
|
| 5 |
-
const _xIgAppId =
|
| 6 |
|
| 7 |
// get the latest 12 feeds from a tag (example https://instagram.com/explore/tags/love)
|
| 8 |
async function insta_iwaTag(tag) {
|
|
|
|
| 1 |
const { iwaTag, iwa, iwaId, iwaIdUrl } = require('instagram-without-api-node');
|
| 2 |
|
| 3 |
+
const _cookie = process.env.COOKIE // <!-- required!! please get your cookie from your browser console (6)
|
| 4 |
+
const _userAgent = process.env.USER-AGENT // <!-- required!! please get your user-agent from your browser console (7)
|
| 5 |
+
const _xIgAppId = process.env.APPID // <!-- required!! please get your x-ig-app-id from your browser console (8)
|
| 6 |
|
| 7 |
// get the latest 12 feeds from a tag (example https://instagram.com/explore/tags/love)
|
| 8 |
async function insta_iwaTag(tag) {
|