Socket
Socket
Sign inDemoInstall

ig-wraper

Package Overview
Dependencies
4
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ig-wraper

A Simple Instagram API Wrapper


Version published
Weekly downloads
2
Maintainers
1
Install size
421 kB
Created
Weekly downloads
 

Readme

Source

ig-wrapper

NPM

ig-wrapper

Instalasi

Untuk menggunakan API , download dulu Packagenya.

npm install ig-wrapper

A instagram api wrapper

Usage

const InstaClient = require("ig-wrapper")
const api = new InstaClient()
(async() => {
const userinfo = await api.user("farrr.ss")
console.log(userinfo)
}()

API Results

{
  "logging_page_id": "profilePage_7868084351",
  "show_suggested_profiles": false,
  "show_follow_dialog": false,
  "graphql": {
    "user": {
      "biography": "/ 大丈夫 /",
      "blocked_by_viewer": false,
      "business_email": null,
      "restricted_by_viewer": false,
      "country_block": false,
      "external_url": "https://dsc.bio/farisdaffa",
      "external_url_linkshimmed": "https://l.instagram.com/?u=https%3A%2F%2Fdsc.bio%2Ffarisdaffa&e=ATMzIQEfwkJaurczfpDqLiBRS9bfJlKX4_vJkYKgXZHCs73Li8YQy-Mo0c0hIC2j3B0jG0EC0dr0AyniTRMMzQ&s=1",
      "edge_followed_by": {
        "count": 94
      },
      "followed_by_viewer": false,
      "edge_follow": {
        "count": 140
      },
      "follows_viewer": false,
      "full_name": "Faris",
      "has_ar_effects": false,
      "has_clips": false,
      "has_guides": false,
      "has_channel": false,
      "has_blocked_viewer": false,
      "highlight_reel_count": 0,
      "has_requested_viewer": false,
      "id": "7868084351",
      "is_business_account": false,
      "is_joined_recently": false,
      "business_category_name": null,
      "overall_category_name": null,
      "category_enum": null,
      "is_private": false,
      "is_verified": false,
      "edge_mutual_followed_by": {
        "count": 0,
        "edges": []
      },
      "profile_pic_url": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-19/44884218_345707102882519_2446069589734326272_n.jpg?_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_ohc=_Csvb8SfdY8AX93kTvF&oh=4d7e1340f380f176ce359814256271ef&oe=5F9E1A0F&ig_cache_key=YW5vbnltb3VzX3Byb2ZpbGVfcGlj.2",
      "profile_pic_url_hd": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-19/44884218_345707102882519_2446069589734326272_n.jpg?_nc_ht=scontent-lga3-1.cdninstagram.com&_nc_ohc=_Csvb8SfdY8AX93kTvF&oh=4d7e1340f380f176ce359814256271ef&oe=5F9E1A0F&ig_cache_key=YW5vbnltb3VzX3Byb2ZpbGVfcGlj.2",
      "requested_by_viewer": false,
      "username": "farrr.ss",
      "connected_fb_page": null,
      "edge_felix_video_timeline": {
        "count": 0,
        "page_info": {
          "has_next_page": false,
          "end_cursor": null
        },
        "edges": []
      },
      "edge_owner_to_timeline_media": {
        "count": 0,
        "page_info": {
          "has_next_page": false,
          "end_cursor": null
        },
        "edges": []
      },
      "edge_saved_media": {
        "count": 0,
        "page_info": {
          "has_next_page": false,
          "end_cursor": null
        },
        "edges": []
      },
      "edge_media_collections": {
        "count": 0,
        "page_info": {
          "has_next_page": false,
          "end_cursor": null
        },
        "edges": []
      }
    }
  },
  "toast_content_on_load": null,
  "show_view_shop": false,
  "profile_pic_edit_sync_props": null
}

Keywords

FAQs

Last updated on 30 Sep 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc