Ademking / profile-picture-viewer

Bypass the Facebook profile picture guard and see user's profile picture in full size.
https://chrome.google.com/webstore/detail/facebook-profile-picture/olhdholihhioakdjhfhligfehfjjfeoc
MIT License
55 stars 28 forks source link

Not Able To Fetch Instagram Profile Picture And Facebook Profile Picture #18

Open Kartik095 opened 1 year ago

Kartik095 commented 1 year ago

Please if you can update the chrome extension, because it's not working, not able to fetch instagram profile picture and facebook profile picture is fetched in a very low resolution.

Username23453 commented 1 year ago

It works with facebook now it seems, but not with instagram

Ademking commented 1 year ago

@Kartik095 @Intellectual234 I've test it now and it works fine on facebook and instagram. Maybe you're not connected?

Username23453 commented 1 year ago

I am connected, it works great on facebook, but still doesnt work on instagram, what browser are you using? I tried it on Brave & Thorium browser & it doesnt work. It often works for facebook & instagram on those browsers but now it isnt working for instagram, rarely does this happen, something has changed, i dont know what it is, its not anything im doing. I love this extension & I appreciate it very much. I even uninstalled the extension & installed the direct folder from this github, instead of the google webstore. Please help. -Thanks!

Ademking commented 1 year ago

@Intellectual234 @Kartik095

https://user-images.githubusercontent.com/12462188/219376535-5791a2ed-3aa2-41a5-b4bb-76c759c52a58.mp4

As you can see, It works fine on Instagram. I'm using Chrome - Windows 11

Username23453 commented 1 year ago

@Ademking, this extension is still not working on instagram with Chrome, Brave or Thorium browser as of 2-16-23. I am using Windows 7. It has worked great in the past though. I even disabled all other extensions in my Chrome browser, still didnt work.

Ademking commented 1 year ago

@Ademking, this extension is still not working on instagram with Chrome, Brave or Thorium browser as of 2-16-23. I am using Windows 7. It has worked great in the past though. I even disabled all other extensions in my Chrome browser, still didnt work.

@Intellectual234

image

I'm sure it works. I don't know why you have this problem.

  1. Try to open Instagram and use the extension on any profile. for example: https://www.instagram.com/zuck/
  2. Open chrome://extensions/ and click on background page
  3. Show me the console tab and the requests tab
Username23453 commented 1 year ago

1.) I just tried it on my Chromebook/ChromeOS instead of Windows 7 OS & it still doesnt work. Perhaps instagram is throttling me? I dont think you have considered that.

2.) I dont know what you mean by the console tab or requests tab. But here is a corresponding screenshot. image

Ademking commented 1 year ago

1.) I just tried it on my Chromebook/ChromeOS instead of Windows 7 OS & it still doesnt work. Perhaps instagram is throttling me? I dont think you have considered that.

2.) I dont know what you mean by the console tab or requests tab. But here is a corresponding screenshot. image

@Intellectual234

image

I need to see the "Console" and "Network" tab.

Username23453 commented 1 year ago

Here is what the console tab says when i click on "background page". image

Here is the network tab: image

Also, here is a network screenshot of zuckerberg's instagram, his profile picture is only showing 140 x 140, very small, real HQ size isnt showing: image

Ademking commented 1 year ago

image

@Intellectual234 Can you click on this request and show me the response

Username23453 commented 1 year ago

Sure, see response tab below, here is starting with Header tab:

"General: "Request URL: https://i.instagram.com/api/v1/users/314216/info/ Request Method: GET Status Code: 200 Remote Address: 157.240.245.63:443 Referrer Policy: strict-origin-when-cross-origin

Response Headers: access-control-expose-headers: X-IG-Set-WWW-Claim alt-svc: h3=":443"; ma=86400 cache-control: private, no-cache, no-store, must-revalidate content-encoding: gzip content-language: en content-length: 2490 content-security-policy: report-uri https://www.instagram.com/security/csp_report/; default-src 'self' https://www.instagram.com; img-src data: blob: https://*.fbcdn.net https://*.instagram.com https://*.cdninstagram.com https://*.facebook.com https://*.fbsbx.com https://*.giphy.com; font-src data: https://*.fbcdn.net https://*.instagram.com https://*.cdninstagram.com; media-src 'self' blob: https://www.instagram.com https://*.cdninstagram.com https://*.fbcdn.net; manifest-src 'self' https://www.instagram.com; script-src 'self' https://instagram.com https://www.instagram.com https://*.www.instagram.com https://*.cdninstagram.com wss://www.instagram.com https://*.facebook.com https://*.fbcdn.net https://*.facebook.net 'unsafe-inline' 'unsafe-eval' blob:; style-src 'self' https://*.www.instagram.com https://www.instagram.com 'unsafe-inline'; connect-src 'self' https://instagram.com https://www.instagram.com https://*.www.instagram.com https://graph.instagram.com https://*.graph.instagram.com https://i.instagram.com/graphql_www https://graphql.instagram.com https://*.cdninstagram.com https://api.instagram.com https://i.instagram.com https://*.i.instagram.com https://*.od.instagram.com wss://www.instagram.com wss://edge-chat.instagram.com https://*.facebook.com https://*.fbcdn.net https://*.facebook.net chrome-extension://boadgeojelhgndaghljhdicfkmllpafd blob:; worker-src 'self' blob: https://www.instagram.com; frame-src 'self' https://instagram.com https://www.instagram.com https://*.instagram.com https://staticxx.facebook.com https://www.facebook.com https://web.facebook.com https://connect.facebook.net https://m.facebook.com https://*.fbsbx.com; object-src 'none'; upgrade-insecure-requests content-type: application/json; charset=utf-8 cross-origin-embedder-policy-report-only: require-corp;report-to="coep" cross-origin-opener-policy: same-origin-allow-popups;report-to="coop" cross-origin-resource-policy: cross-origin date: Fri, 17 Feb 2023 10:39:02 GMT expires: Sat, 01 Jan 2000 00:00:00 GMT origin-trial: AuqWincgAuXeuu3KypEMnrrFEJHySaesyJS3EaIH40zvafzrU0Irhb7+5QwZpOqMZrPTjgvFl7Z5jJgy1dNAcQMAAAB6eyJvcmlnaW4iOiJodHRwczovL2luc3RhZ3JhbS5jb206NDQzIiwiZmVhdHVyZSI6IkNyb3NzT3JpZ2luT3BlbmVyUG9saWN5UmVwb3J0aW5nIiwiZXhwaXJ5IjoxNjEzNDExNjYyLCJpc1N1YmRvbWFpbiI6dHJ1ZX0= pragma: no-cache priority: u=1 report-to: {"group": "coep", "max_age": 86400, "endpoints": [{"url": "/security/coep_report/"}]},{"group": "coop", "max_age": 86400, "endpoints": [{"url": "/security/coop_report/"}]} set-cookie: csrftoken=IEt8xpvfaB19zo5fBv6r6QDv6gTKEbg0; Domain=.instagram.com; expires=Fri, 16-Feb-2024 10:39:02 GMT; Max-Age=31449600; Path=/; Secure set-cookie: rur="NCG\05447187493151\0541708166342:01f7e950ba5c1046a70c4d3adfbc8b0a2bba2a8bef23a4c74f1beae21af854c829802c0a"; Domain=.instagram.com; HttpOnly; Path=/; SameSite=Lax; Secure set-cookie: ds_user_id=47187493151; Domain=.instagram.com; expires=Thu, 18-May-2023 10:39:02 GMT; Max-Age=7776000; Path=/; Secure strict-transport-security: max-age=31536000 vary: Accept-Language, Cookie, Accept-Encoding x-aed: 75 x-content-type-options: nosniff x-frame-options: SAMEORIGIN x-ig-cache-control: cache x-ig-origin-region: ncg x-ig-peak-time: 0 x-ig-push-state: c2 x-ig-request-elapsed-time-ms: 493 x-xss-protection: 0 :authority: i.instagram.com :method: GET :path: /api/v1/users/314216/info/ :scheme: https accept: / accept-encoding: gzip, deflate, br accept-language: en-US,en;q=0.9 cookie: datr=v0DPYxWx43GwFxW7JsLAnWDA; mid=Y89AwgAEAAHPm051wn7vayUDhYsZ; ig_did=0D249B9D-3BA9-4964-A12A-AFCD31F8800E; ig_nrcb=1; fbm_124024574287414=base_domain=.instagram.com; csrftoken=IEt8xpvfaB19zo5fBv6r6QDv6gTKEbg0; ds_user_id=47187493151; shbid="7264\05447187493151\0541708035886:01f7eeba00513a07b539bef247d6657a52b20cbbd62c872e8d340ef791d16b6d5e84343a"; shbts="1676499886\05447187493151\0541708035886:01f707ffb3e748e75f7adb7897eabbb4dd04a00be83562dc4bb05741ddf0ef467c96c8bd"; sessionid=47187493151%3A74eUycK6ZnXchj%3A19%3AAYdeanHRYacbyrfew4dFgNh-jNAsnfsM5WEgbehU7lw; dpr=1; fbsr_124024574287414=b9eveOYTpCvCxKdpQSM3t63jVTGOBZ_L9K9-u4NvQ2o.eyJ1c2VyX2lkIjoiNjU3ODg2MDM3IiwiY29kZSI6IkFRRHhVU1JBVnN2a0pUNjZRWDFBYUtPYURFZktjZ3FYbnRIdUVBNFFveThZTC1VcTJlS0lZZWFTSE1xbkpvOWFqLUdXTHY1UUZHeWdxWkY3YkdnMWtwT3JicWZJRVRoODVFR01zb2NGcHdWMUpiTkdLcExwLUFwR3h4empSaGxkRFZDSng5T1M3UTFuUWJTdFVBVFc5UmtHbklELVpZQlBYVklIUXEwVFowaUd1UFhRQWRPSzRXX0QwUzJRMTFDcVEtOHhEWXVSSnpFWlpjajlOOXV0c2N6RW16STJrZ2VrRWszV3BLSDZ5RUVYQ094cFVCajFuOUNaWEFsWkJmcDlOaWd0azdwcjEzWnVIWVRHMFFEaVRrMEVEM2w4eXc3dmRUdVg4Z1B2Q0JfV08zUUtJWEhNeFBzQ3JndTdFelBPNTkwIiwib2F1dGhfdG9rZW4iOiJFQUFCd3pMaXhuallCQUIybm1TcW9QbFUxM2loaDAxVmVYN2JhZE5TV1F3aWtBOTkyMElvdmp4b01kYmtQT2dFN3VpQXJpWkFIOTZiNFh6WkFLU2k5bzFrYkphU2RaQWdwQzlMem9FM1NhbFpBaTVVQlFsNm5RN2Y1WkFKWkNVb3hNYTNTdkx2Nk1tSEhaQTdtZFVXWTlOSFpCbDlZOU1kNUZ2WkNhcDFNUHNQYlJGMlpCeVpDcWYyR3FreSIsImFsZ29yaXRobSI6IkhNQUMtU0hBMjU2IiwiaXNzdWVkX2F0IjoxNjc2NjMwMzM1fQ; rur="NCG\05447187493151\0541708166341:01f743405ebdda10c861d6561637e588fcbbb051f9c4a294a240d13742b23965923cc2b1" dnt: 1 sec-ch-ua: "Chromium";v="109", "Not_A Brand";v="99" sec-ch-ua-mobile: ?0 sec-ch-ua-platform: "Windows" sec-fetch-dest: empty sec-fetch-mode: cors sec-fetch-site: none user-agent: Mozilla/5.0 (iPhone; CPU iPhone OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 105.0.0.11.118 (iPhone11,8; iOS 12_3_1; en_US; en-US; scale=2.00; 828x1792; 165586599)"

image


Preview tab: image


Response code tab: "{"user":{"has_anonymous_profile_picture":false,"is_supervision_features_enabled":false,"follower_count":10670720,"media_count":263,"following_count":500,"following_tag_count":3,"geo_media_count":0,"can_use_affiliate_partnership_messaging_as_creator":false,"can_use_affiliate_partnership_messaging_as_brand":false,"has_private_collections":true,"has_music_on_profile":false,"is_potential_business":false,"can_use_branded_content_discovery_as_creator":false,"can_use_branded_content_discovery_as_brand":false,"fan_club_info":{"fan_club_id":null,"fan_club_name":null,"is_fan_club_referral_eligible":null,"fan_consideration_page_revamp_eligiblity":null,"is_fan_club_gifting_eligible":null},"is_whatsapp_linked":false,"transparency_product_enabled":false,"interop_messaging_user_fbid":119171612803872,"bio_links":[],"can_add_fb_group_link_on_profile":false,"external_url":"","show_shoppable_feed":false,"shoppable_posts_count":2,"merchant_checkout_style":"none","seller_shoppable_feed_type":"none","has_active_affiliate_shop":false,"has_guides":false,"has_highlight_reels":false,"hd_profile_pic_versions":[{"width":320,"height":320,"url":"https://scontent-bos5-1.cdninstagram.com/v/t51.2885-19/311884518_2193364970835035_2430908825121160883_n.jpg?stp=dst-jpg_s320x320\u0026_nc_ht=scontent-bos5-1.cdninstagram.com\u0026_nc_cat=1\u0026_nc_ohc=ko8VC9UEodoAX8OO5Ky\u0026edm=AEF8tYYBAAAA\u0026ccb=7-5\u0026oh=00_AfCQ0NJ4C4Y0cGaXjOidceXw8lTGcbHqUzI3GuudPJLiDA\u0026oe=63F500B5\u0026_nc_sid=a9513d"},{"width":640,"height":640,"url":"https://scontent-bos5-1.cdninstagram.com/v/t51.2885-19/311884518_2193364970835035_2430908825121160883_n.jpg?stp=dst-jpg_s640x640\u0026_nc_ht=scontent-bos5-1.cdninstagram.com\u0026_nc_cat=1\u0026_nc_ohc=ko8VC9UEodoAX8OO5Ky\u0026edm=AEF8tYYBAAAA\u0026ccb=7-5\u0026oh=00_AfC-GKxlXQv0NNMcHcBTDKntDbw-JlVkQFU80HDQEHs0Ew\u0026oe=63F500B5\u0026_nc_sid=a9513d"}],"is_interest_account":true,"is_favorite":false,"is_favorite_for_stories":false,"is_favorite_for_highlights":false,"live_subscription_status":"default","usertags_count":46152,"total_ar_effects":2,"total_clips_count":1,"has_videos":true,"total_igtv_videos":12,"has_igtv_series":false,"biography":"","include_direct_blacklist_status":true,"biography_with_entities":{"raw_text":"","entities":[]},"show_fb_link_on_profile":false,"primary_profile_link_type":0,"can_hide_category":true,"can_hide_public_contacts":true,"should_show_category":false,"category_id":1617,"is_category_tappable":false,"should_show_public_contacts":false,"is_eligible_for_smb_support_flow":true,"is_eligible_for_lead_center":false,"is_experienced_advertiser":false,"lead_details_app_id":"com.bloks.www.ig.smb.lead_gen.subpage","is_business":false,"professional_conversion_suggested_account_type":3,"account_type":3,"direct_messaging":"","instagram_location_id":"","address_street":"","business_contact_method":"UNKNOWN","city_id":0,"city_name":"","contact_phone_number":"","is_profile_audio_call_enabled":false,"latitude":0.0,"longitude":0.0,"public_email":"","public_phone_country_code":"","public_phone_number":"","zip":"","mutual_followers_count":16,"is_shop_ads_recon_eligible":false,"profile_context":"Followed by yktvmagazine, martinshkreli15 and 14 others","profile_context_links_with_user_ids":[{"start":12,"end":24,"username":"yktvmagazine"},{"start":26,"end":41,"username":"martinshkreli15"},{"start":46,"end":55}],"profile_context_facepile_users":[{"pk":8311102915,"pk_id":"8311102915","username":"yktvmagazine","full_name":"YKTV MAGAZINE. 🐐 also follow @yktvmagazine_backup","is_private":false,"is_verified":false,"profile_pic_id":"2998493266275208249_8311102915","profile_pic_url":"https://scontent-bos5-1.cdninstagram.com/v/t51.2885-19/320921245_1233987484163885_5193720287989170975_n.jpg?stp=dst-jpg_s150x150\u0026_nc_ht=scontent-bos5-1.cdninstagram.com\u0026_nc_cat=105\u0026_nc_ohc=tLZ1H_iGC6oAX_YaNrW\u0026edm=AEF8tYYBAAAA\u0026ccb=7-5\u0026oh=00_AfCWiyKi57-ftBxO1r8SoIoRKtyXG4OvkRrg7J_xNBBo7A\u0026oe=63F4B4D5\u0026_nc_sid=a9513d"},{"pk":2325970500,"pk_id":"2325970500","username":"martinshkreli15","full_name":"Martin Shkreli","is_private":false,"is_verified":false,"profile_pic_url":"https://scontent-bos5-1.cdninstagram.com/v/t51.2885-19/12301150_1707096562857076_1266214052_a.jpg?_nc_ht=scontent-bos5-1.cdninstagram.com\u0026_nc_cat=104\u0026_nc_ohc=y5SwqEhbwuYAX9IZ1a1\u0026edm=AEF8tYYBAAAA\u0026ccb=7-5\u0026oh=00_AfAREhG2dqtdfbekQi7zQItQSONpDc3a-2Gz5ulh4sbiEw\u0026oe=63F4ADB1\u0026_nc_sid=a9513d"},{"pk":1364166629,"pk_id":"1364166629","username":"shitheadsteve","full_name":"Shitheadsteve","is_private":false,"is_verified":true,"profile_pic_id":"1576978403330919197_1364166629","profile_pic_url":"https://scontent-bos5-1.cdninstagram.com/v/t51.2885-19/20686663_183184438888795_924418902178398208_a.jpg?stp=dst-jpg_s150x150\u0026_nc_ht=scontent-bos5-1.cdninstagram.com\u0026_nc_cat=1\u0026_nc_ohc=uj6KWLYhrUAAX-c4MaU\u0026edm=AEF8tYYBAAAA\u0026ccb=7-5\u0026oh=00_AfADZU8OrgOf_iGoqNBFaK-J4k2v8aB1oo60ZfwX124erg\u0026oe=63F46E46\u0026_nc_sid=a9513d"}],"profile_context_mutual_follow_ids":[8311102915,2325970500,1364166629],"has_chaining":true,"pk":314216,"pk_id":"314216","username":"zuck","full_name":"Mark Zuckerberg","is_private":false,"follow_friction_type":0,"is_verified":true,"profile_pic_id":"2951813770230285447_314216","profile_pic_url":"https://scontent-bos5-1.cdninstagram.com/v/t51.2885-19/311884518_2193364970835035_2430908825121160883_n.jpg?stp=dst-jpg_s150x150\u0026_nc_ht=scontent-bos5-1.cdninstagram.com\u0026_nc_cat=1\u0026_nc_ohc=ko8VC9UEodoAX8OO5Ky\u0026edm=AEF8tYYBAAAA\u0026ccb=7-5\u0026oh=00_AfCETzLiM7mPJDDSuDwNvVDfT20LfR7DKrclY4PLgmRBgQ\u0026oe=63F500B5\u0026_nc_sid=a9513d","current_catalog_id":null,"mini_shop_seller_onboarding_status":null,"shopping_post_onboard_nux_type":null,"ads_incentive_expiration_date":null,"displayed_action_button_partner":null,"smb_delivery_partner":null,"smb_support_delivery_partner":null,"displayed_action_button_type":"","smb_support_partner":null,"is_call_to_action_enabled":false,"num_of_admined_pages":null,"category":null,"account_badges":[],"request_contact_enabled":false,"robi_feedback_source":null,"is_memorialized":false,"open_external_url_with_in_app_browser":true,"has_exclusive_feed_content":false,"has_fan_club_subscriptions":false,"pinned_channels_info":{"pinned_channels_list":[],"has_public_channels":false},"remove_message_entrypoint":false,"chaining_results":null,"is_bestie":false,"show_account_transparency_details":true,"existing_user_age_collection_enabled":true,"show_post_insights_entry_point":true,"has_public_tab_threads":true,"auto_expand_chaining":false,"is_new_to_instagram":false,"highlight_reshare_disabled":false},"status":"ok"}"


Initiator tab:

image


Timing tab: image


Cookies: image

Ademking commented 1 year ago

You're right... The response is different...

Instagram does not include "hd_profile_pic_url_info" in your response. But mine does. Weird...

image

I think the problem is with the account. I will re-open this issue.

Username23453 commented 1 year ago

Thanks for your help. In the meantime i will use this website/tool, can you please confirm the images from this have same quality & dimensions? https://www.save-insta.com/profile-downloader/

Ademking commented 1 year ago

Thanks for your help. In the meantime i will use this website/tool, can you please confirm the images from this have same quality & dimensions? https://www.save-insta.com/profile-downloader/

@Intellectual234 Yes, It's the same quality and dimension...

Username23453 commented 1 year ago

@Ademking , thanks! hey, i sent you an email, i got some cool extensions, why dont we talk & share some with each other.