1.3.35 • Published 1 year ago

insta-fetcher v1.3.35

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Insta Fetcher

HitCount GitHub license Npm package monthly downloads GitHub repo size npm version

Fetch instagram api with full details and simplified json metadata

Read the docs here

ā˜• Buy Me a Coffee : Saweria

Features

  • accountInfo
  • addPost
  • changeProfilePicture
  • fetchHighlights
  • fetchPost
  • fetchStories
  • fetchUser
  • fetchUserPosts
  • fetchUserV2

Usage

Installation:

npm i insta-fetcher

recommended to set the cookie before make call to all function

let { igApi, getCookie } = require("insta-fetcher");
// using constructor
let ig = new igApi("your cookie");

// you can get sesion id by using getSessionId function, it requires username & password
(async () => {
  const session_id = await getCookie("username", "password");
  console.log(session_id);
})();

Example

more example you can check at example.ts file

let { igApi } = require("insta-fetcher");

// some example with proxy, but i never test it
let ig = new igApi("your cookie", false, {
      proxy: {
        host: 'proxy-url',
        port: 80,
        auth: {username: 'my-user', password: 'my-password'}
    }
});

// Public post
ig.fetchPost("https://www.instagram.com/reel/CXhW_4sp32Z/").then((res) => {
  console.log(res);
});

// User data
ig.fetchUser("mg.creativestudio").then((res) => {
  console.log(res);
});

// Fetch stories
ig.fetchStories("adiraas.p").then((res) => {
  console.log(res);
});

// Fetch highlights
ig.fetchHighlights("adiraas.p").then((res) => {
  console.log(res);
});

My Project with this Library

Contributing

All kinds of contributions are welcome - code, tests, documentation, bug reports, new features, etc...

  • Send feedbacks.
  • Submit bug reports.
  • Write/Edit the documents.
  • Fix bugs or add new features.
queenamdi-beta@infinitebrahmanuniverse/nolb-instari-api@everything-registry/sub-chunk-1918talesrich-child-theretalessuch-week-affecttastesteel-fly-grandfathertasteleft-old-exercisetaxfeel-grew-tricktaxgood-help-shaketaxsense-vast-playtaxsent-appropriate-moleculartaxwolf-failed-historytapehope-cake-gottakenhow-introduced-graduallytakenone-magnet-boattakenswim-failed-valleytankface-paint-appropriatetasktotal-method-staytasksang-chance-plaintallfruit-involved-coldtableverb-storm-accepttencat-lying-becomingtenthose-face-senttentrich-mill-availableteachswim-welcome-sleepteachfight-goose-woolteachguide-thick-wonderteachno-topic-hellowingbone-only-metwhalemust-old-secondwhereeager-suddenly-smallestwhobark-aloud-memorywidepiece-mind-examinewiderear-useful-insidewideway-discovery-kidswhaleteeth-fully-throatwhitetruck-remarkable-purposewhitegold-continent-stuckwhitehole-likely-audiencewoolfront-species-elephantwoolgame-go-cottonwoolunder-local-prettywoolwet-exchange-fiercewoolbound-rhyme-holdwoolcloud-wrapped-shakingwordamong-allow-talesweekoff-grandfather-totalwithlow-truck-legwithsides-rock-amwithtotal-matter-officialwithwent-tales-independentwingyoung-driving-sentencewolflike-surprise-allowwomenfall-stretch-piewonlearn-turn-causewindnuts-neck-warnwishlaid-quietly-realwishcar-shinning-stickwaitlast-basic-canwallshape-race-chancewalkstay-else-interiorw3b69-ancient-chemicalw3b69-answer-arrangew3b69-bar-shortw3b69-careful-indeedw3b69-cave-bestw3b69-college-pencilw3b69-desk-oceanw3b69-determine-individualw3b69-fix-settlew3b69-flew-kneww3b69-generally-positionw3b69-gradually-howw3b69-other-happenedw3b69-possibly-hourw3b69-settle-nervousw3b69-show-dozenw3b69-speech-stemsw3b69-tape-hurryw3b69-together-heatw3b69-too-brokeweekeaten-leaf-shellswelllead-hot-milewellwater-composed-blanketweektwice-mood-widelyweekwhite-fuel-lowerwentstep-chief-wellwenttent-writer-lackwenttruth-explanation-boywerefifty-differ-twicewererule-quick-slopewestknew-steady-harderwetpain-forgotten-carefullyworktorn-nature-buffaloworldis-push-objectworlddoing-worse-tipworryhold-eat-potatoesworkpure-negative-pathwouldcage-helpful-straight
1.3.35

1 year ago

1.3.33

1 year ago

1.3.34

1 year ago

1.3.31

1 year ago

1.3.32

1 year ago

1.3.3

1 year ago

1.3.27

2 years ago

1.3.26

2 years ago

1.3.24

3 years ago

1.3.25

3 years ago

1.3.22

3 years ago

1.3.23

3 years ago

1.3.21

3 years ago

1.3.18

3 years ago

1.3.19

3 years ago

1.3.20

3 years ago

1.3.17

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.3.13

3 years ago

1.3.14

3 years ago

1.3.12

3 years ago

1.3.15

3 years ago

1.3.16

3 years ago

1.2.92

3 years ago

1.2.93

3 years ago

1.2.91

3 years ago

1.2.96

3 years ago

1.2.97

3 years ago

1.2.94

3 years ago

1.2.95

3 years ago

1.2.9

3 years ago

1.2.98

3 years ago

1.2.99

3 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.0.0

4 years ago