Spaces:
Paused
Paused
Update lib/instagram.js
Browse files- lib/instagram.js +2 -2
lib/instagram.js
CHANGED
|
@@ -32,7 +32,7 @@ return responseIwaTag
|
|
| 32 |
|
| 33 |
|
| 34 |
// get the latest 12 feeds from an account (example https://www.instagram.com/orsifrancesco/)
|
| 35 |
-
async
|
| 36 |
const responseIwa = await iwa({
|
| 37 |
|
| 38 |
base64images: true, // <!-- optional, but without you will be not able to save images.. it increases the size of the json file
|
|
@@ -57,7 +57,7 @@ return responseIwa
|
|
| 57 |
}
|
| 58 |
|
| 59 |
// get picture and info from instagram id url (example https://www.instagram.com/p/Cgczi6qMuh1/)
|
| 60 |
-
async
|
| 61 |
const responseIwaIdUrl = await iwaIdUrl({
|
| 62 |
|
| 63 |
headers: {
|
|
|
|
| 32 |
|
| 33 |
|
| 34 |
// get the latest 12 feeds from an account (example https://www.instagram.com/orsifrancesco/)
|
| 35 |
+
async function insta_iwa(username) {
|
| 36 |
const responseIwa = await iwa({
|
| 37 |
|
| 38 |
base64images: true, // <!-- optional, but without you will be not able to save images.. it increases the size of the json file
|
|
|
|
| 57 |
}
|
| 58 |
|
| 59 |
// get picture and info from instagram id url (example https://www.instagram.com/p/Cgczi6qMuh1/)
|
| 60 |
+
async function insta_iwaIdUrl(id) {
|
| 61 |
const responseIwaIdUrl = await iwaIdUrl({
|
| 62 |
|
| 63 |
headers: {
|