dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
6k stars 1.14k forks source link

Report users through the api #472

Closed siyavash4812 closed 5 years ago

siyavash4812 commented 6 years ago

I was wondering if there is any method available to report a user?

JTD420 commented 1 year ago

Is there any official info regarding this?

I was investigating the endpoints reporting a fake elon musk account. This is the impersonation endpoint: https://i.instagram.com/api/v1/bloks/apps/com.bloks.www.instagram_bloks_bottom_sheet.ixt.screen.frx_profile_selection_screen/

It posts the following urlencoded form data:

params=%7B%22server_params%22%3A%7B%22serialized_state%22%3A%22QVRNdUs0V2pEVlo2WnJheXUxRnYwTHN3SkgxVkZCVmV2SzNrMzE4OG1hQXVvRlB5QW00cWFHZ0hMMU9FUUotb09fOVNTa0hhU21JVHZMX3pOemtCV1YtMm1wRmM2M24zNWRHeENSZzBWM2FlMlIwcF9HbEdwUFZYdndGYUs4QkZxajNsTmlTQ0xDYjdjUTZQZ0pjZkRnWlkxalJhbE1NdXB4WGdQQ1VVNVJVZ0FhOFItczkteHBOMG9RODhvc3lIeE9JWkxzU2ZrRXdvX1lrT3RQOWZSb09KeHNzbmNiSm1ucXJQaVZ3dDhkTDFyYUdmLTdrN1hRenQ4bXd1OE9LMzk1cmNTN3ZlMm9wTFc4Tksydlo2ZXh5VjltRHZlV2JJVEFQTmNLLUl0RUZtYW1UNEFmTlJaeHRXRW1oTVV0c1BabWZFTW9GOTQ3aFJRRzczVkowd3RoTnBLRnotdmtyUEp4c1ZOTGVRMHdlMW1GaldhbkpXbFBRam1lZGNDNENWbE94MTJwd1B1MjNUNVNsYkpPR3RfVWRlMHZxdUI2WmhlemtyM2ZxVEVEdEd2WmN3SGxiYTdlbmFxekg4QjNYRHFnLW85T0lBRTBzS2NTWXgwU3ZwcklBcmtwU0gwMXJKUG1GR2hrckhUaXUzSWwzTXlRd0hRSGt4QnQwVGM0ZlNSZ1RhVlJrSTBkbUZFbVBrOWlHRDZnc3pmdWZvcUI2TkV3OC1jcGFJV2J5bU9rb1ZyaU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JRTld4VWIwczdjaU81THZvdnRxQU1lM1RtYVYtdWVpZGdDV3d3UHNpWXFtSkZya1NDb2dLc1lQLXUwU3l3SFZLcGZNWjI5OXBNT2ZySmRMSkowVEJZdUhuTnRlZ1NvZXBTamUyNHYtOTVxa3dlVkNZdlVwekNIeWpRc1FoeWZpaEJ6bVBCRDEwSHJ6LVl2cVJYbTRCUUhoWnR2LTdZTWJlZ0htQ0lxNUR2X25nWnk4UFRfejZTUHB2RmV0VWVlV0ZiN0ZUaDgyZ0h1OTZwN0FxZTg2VW1RODhoa1R1M3ZsNDZocEp4VDNCYVdPUEVGRy1IaEd3eHhnU2gzMm14aTRPdXlfM1ZjWXlFS3c0NWlkaHdUMzhMcDRNVDBpbkk0ZTZiUjFTY2owOXVodUpfTGNLcFktbzhpWlZMc0pBcGFRRkJrUmhacVdiVmh2akI2SW1fX1BTcjBEUjRmYnU2a01wQm41a2M0SlhDMzlxelZrZ2dmQWdfUmVVR3NhU0NNZE5jc3ZfT1gxZ1pTcmRGYjdKMFJBVkY1cnFEeEl4X0QybXA4S0RVXzdSSV9HT2FBY0tR%22%2C%22INTERNAL__latency_qpl_marker_id%22%3A36707139%2C%22INTERNAL__latency_qpl_instance_id%22%3A86644431700553%2C%22is_bloks%22%3A1%2C%22profile_id%22%3A17841400124024650%7D%7D&_uuid=fcc3fbbf-3663-4205-b94a-336c9a1e6ae0&bk_client_context=%7B%22bloks_version%22%3A%220ee04a4a6556c5bb584487d649442209a3ae880ae5c6380b16235b870fcc4052%22%2C%22styles_id%22%3A%22instagram%22%7D&bloks_versioning_id=0ee04a4a6556c5bb584487d649442209a3ae880ae5c6380b16235b870fcc4052
0xWa7d commented 9 months ago

Is there any official info regarding this?

I was investigating the endpoints reporting a fake elon musk account. This is the impersonation endpoint: https://i.instagram.com/api/v1/bloks/apps/com.bloks.www.instagram_bloks_bottom_sheet.ixt.screen.frx_profile_selection_screen/

It posts the following urlencoded form data:

params=%7B%22server_params%22%3A%7B%22serialized_state%22%3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a1R1M3ZsNDZocEp4VDNCYVdPUEVGRy1IaEd3eHhnU2gzMm14aTRPdXlfM1ZjWXlFS3c0NWlkaHdUMzhMcDRNVDBpbkk0ZTZiUjFTY2owOXVodUpfTGNLcFktbzhpWlZMc0pBcGFRRkJrUmhacVdiVmh2akI2SW1fX1BTcjBEUjRmYnU2a01wQm41a2M0SlhDMzlxelZrZ2dmQWdfUmVVR3NhU0NNZE5jc3ZfT1gxZ1pTcmRGYjdKMFJBVkY1cnFEeEl4X0QybXA4S0RVXzdSSV9HT2FBY0tR%22%2C%22INTERNAL__latency_qpl_marker_id%22%3A36707139%2C%22INTERNAL__latency_qpl_instance_id%22%3A86644431700553%2C%22is_bloks%22%3A1%2C%22profile_id%22%3A17841400124024650%7D%7D&_uuid=fcc3fbbf-3663-4205-b94a-336c9a1e6ae0&bk_client_context=%7B%22bloks_version%22%3A%220ee04a4a6556c5bb584487d649442209a3ae880ae5c6380b16235b870fcc4052%22%2C%22styles_id%22%3A%22instagram%22%7D&bloks_versioning_id=0ee04a4a6556c5bb584487d649442209a3ae880ae5c6380b16235b870fcc4052

how can I get this API from where I can get it ?