Wondering what’s next for npm?Check out our public roadmap! »

instagram-profile-data

1.0.1 • Public • Published

What is this?

Get instagram users profile json data with just single line of code.

Installation

npm i instagram-profile-data --save

Then...

import instaProfile from "instagram-profile-data";

instaProfile(instagram-username).then((data)=> console.log(data));


Output

JSON data will be visible in console

sample output

Object

graphql:
user:
biography: "Let’s find more that brings us together."
blocked_by_viewer: false
business_category_name: "Personal Goods & General Merchandise Stores"
business_email: ""
category_enum: "WEBSITE"
connected_fb_page: null
country_block: false
edge_felix_video_timeline:
count: 15
edges: (12) [{…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
page_info: {has_next_page: true, end_cursor: "QVFEWDRadzJEWmg0STJSMnZmRTZUeWQtaHZKa21SdzExdGFKTF…4ZDFxR01QZkpkN0c4amdPb1pQUzZPMHQ5SVZxaHRnNUdFVg=="}
__proto__: Object
edge_follow: {count: 14}
edge_followed_by: {count: 3855182}
edge_media_collections: {count: 0, page_info: {…}, edges: Array(0)}
edge_mutual_followed_by: {count: 0, edges: Array(0)}
edge_owner_to_timeline_media: {count: 499, page_info: {…}, edges: Array(12)}
edge_related_profiles: {edges: Array(80)}
edge_saved_media: {count: 0, page_info: {…}, edges: Array(0)}
external_url: "http://fb.com/votinginformationcenter"
external_url_linkshimmed: "https://l.instagram.com/?u=http%3A%2F%2Ffb.com%2Fvotinginformationcenter&e=ATMMI9lFMpHYHRN_7sfx38cekx_2oay137cMAAP76zK03H_SnJbL651BCdNHP7LM-lbr513TlHMRAhMH&s=1"
followed_by_viewer: false
follows_viewer: false
full_name: "Facebook App"
has_ar_effects: false
has_blocked_viewer: false
has_channel: false
has_clips: false
has_guides: false
has_requested_viewer: false
highlight_reel_count: 0
id: "1807199"
is_business_account: true
is_joined_recently: false
is_private: false
is_verified: true
overall_category_name: null
profile_pic_url: "https://instagram.fbom16-1.fna.fbcdn.net/v/t51.2885-19/s150x150/119312038_2008207229303521_7322981571982743610_n.jpg?_nc_ht=instagram.fbom16-1.fna.fbcdn.net&_nc_ohc=-r8EqwUh8NUAX_J0A7X&oh=5445d4acbe68ec8eb25ede7b4004c985&oe=5FD2B26F"
profile_pic_url_hd: "https://instagram.fbom16-1.fna.fbcdn.net/v/t51.2885-19/s320x320/119312038_2008207229303521_7322981571982743610_n.jpg?_nc_ht=instagram.fbom16-1.fna.fbcdn.net&_nc_ohc=-r8EqwUh8NUAX_J0A7X&oh=5da239a1d8c4054836bd50875c1574a6&oe=5FD27B7A"
requested_by_viewer: false
restricted_by_viewer: null
username: "facebookapp"
__proto__: Object
__proto__: Object
logging_page_id: "profilePage_1807199"
profile_pic_edit_sync_props: null
show_follow_dialog: false
show_suggested_profiles: false
show_view_shop: false
toast_content_on_load: null


Install

npm i instagram-profile-data

DownloadsWeekly Downloads

7

Version

1.0.1

License

ISC

Unpacked Size

3.85 kB

Total Files

3

Last publish

Collaborators

  • avatar