Search reels, posts,... on Instagram without API key or Cookie in ionic apps
Table of contents:
ionic cordova plugin add cordova-plugin-advanced-http
npm install ionic-insta-search --save
import * as insta from 'ionic-insta-search';
/**
* Given a search query, searching on insta
* @param {string} search value (instaId).
*/
const videos = await insta.search('instaId');
const videos = await insta.search('https://www.instagram.com/p/instaId');
console.log(videos);
{
"resultsCount": 7,
"urls": [
"https://scontent-muc2-1.cdninstagram.com/v...",
....
],
"username": "appit-online",
"name": "AppIT",
"isVerified": false,
"isPrivate": false,
"commentsDisabled": false,
"likeCounterDisabled": false,
"location": "Mountains Spot",
"followers": 15962,
"likes": 4120,
"isAd": false,
"caption": "#sudtirol #dolomiti....",
"createdAt": "1738502812",
"media": [
{
"type": "image",
"dimensions": {
"height": 1350,
"width": 1080
},
"url": "https://scontent-muc2-1.cdninstagram.com/v..."
},...
]
}
Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js.
Apache Version 2.0
See LICENSE