You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Instagram uses new api called bloks api, I'm preparing InstagramApiSharp's library to use this api.
Currently most of challenges and changing password uses bloks api, but in newer version Instagram uses api this for login part as well.
As I checked Threads app's packets for login part only, it seems uses the exact bloks api from Instagram, so it is possible to make use of InstagramApiSharp's library.
If I wanted to add the login part to ThreadsApiSharp, I have to double check for everything and I don't think it's logical to do something like this.
Reading Bloks api's response is hard, because it has a lot of nonsense, currently I'm using Substring/IndexOf since it's hard to create a wrapper for it's response
// POST https://i.instagram.com/api/v1/bloks/apps/com.bloks.www.bloks.caa.login.async.send_login_request/
{
"client_input_params": {
"device_id": "android-", // device id"login_attempt_count": 1, // dont change"secure_family_device_id": "", // dont change"machine_id": "X-Mid Header",
"accounts_list": [], // dont change"auth_secure_device_id": "", // dont change"password": "ENCRYPTED PASSWORD",
"family_device_id": "FAMILY DEVICE ID", // FamilyDeviceGuid"fb_ig_device_id": [], // dont change"device_emails": [], // dont change"try_num": 1,
"event_flow": "login_manual", // dont change"event_step": "home_page", // dont change"openid_tokens": {}, // dont change"client_known_key_hash": "", // dont change"contact_point": "USERNAME",
"encrypted_msisdn": ""// dont change
},
"server_params": {
"should_trigger_override_login_2fa_action": 0, // dont change"username_text_input_id": "v7chy0:53", // came from last request"device_id": "android-", // device id"should_trigger_override_login_success_action": 0, // dont change"server_login_source": "login", // dont change"waterfall_id": "", // random guid"login_source": "Login", // dont change"INTERNAL__latency_qpl_instance_id": 188679189600332, // came from last request"reg_flow_source": "login_home_native_integration_point", // dont change"is_platform_login": 0, // dont change"is_caa_perf_enabled": 1, // dont change"credential_type": "password", // dont change"family_device_id": "FAMILY DEVICE ID", // FamilyDeviceGuid"INTERNAL__latency_qpl_marker_id": 36707139, // came from last request"offline_experiment_group": "caa_iteration_v3_perf_ig_4", // dont change"INTERNAL_INFRA_THEME": "harm_f", // dont change"password_text_input_id": "v7chy0:54", // came from last request"qe_device_id": "Device _uuid", // DevieGuid"ar_event_source": "login_home_page"// dont change
}
}
The text was updated successfully, but these errors were encountered:
Can I create this?
Maybe
Since Instagram uses new api called
bloks api
, I'm preparing InstagramApiSharp's library to use this api.Currently most of challenges and changing password uses
bloks api
, but in newer version Instagram uses api this for login part as well.As I checked
Threads
app's packets for login part only, it seems uses the exactbloks api
from Instagram, so it is possible to make use of InstagramApiSharp's library.Now I have question, should I use InstagramApiSharp's library for login part and migrate its data to ThreadsApiSharp's library? or add the login part to ThreadsApiSharp's library as well?
Problems
Bloks api
's response is hard, because it has a lot of nonsense, currently I'm using Substring/IndexOf since it's hard to create a wrapper for it's responseLearning part
Each
bloks api
requests looks like this:Visual version;
Login api
The text was updated successfully, but these errors were encountered: