ionic-insta-search
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Search reels, posts,... on Instagram without API key or Cookie in ionic apps

Table of contents:

Quickstart

Installing the library

ionic cordova plugin add cordova-plugin-advanced-http
npm install ionic-insta-search --save

Using the library

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..."
    },...
  ]
}

Supported Node.js Versions

Our client libraries follow the Node.js release schedule. Libraries are compatible with all current active and maintenance versions of Node.js.

License

Apache Version 2.0

See LICENSE

Package Sidebar

Install

npm i ionic-insta-search

Weekly Downloads

8

Version

1.0.4

License

ISC

Unpacked Size

24.8 kB

Total Files

9

Last publish

Collaborators

  • dave7117