ionic-insta-search
Version:
Search posts and reels on Insta without API or Cookie key in ionic apps
79 lines (60 loc) • 1.76 kB
Markdown
on Instagram without API key or Cookie in ionic apps
**Table of contents:**
* [Quickstart](
* [Installing the library](
* [Using the library](
* [License](
```bash
ionic cordova plugin add cordova-plugin-advanced-http
npm install ionic-insta-search --save
```
```javascript
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](https://nodejs.org/en/about/releases/).
Libraries are compatible with all current _active_ and _maintenance_ versions of
Node.js.
Apache Version 2.0
See [LICENSE](https://github.com/appit-online/ionic-insta-search/blob/master/LICENSE)
Search reels, posts,...