threadsjs / threads.js

A Node.js library for the Threads API
MIT License
279 stars 29 forks source link

detect checkpoint #39

Closed sooluh closed 1 year ago

sooluh commented 1 year ago

I added a detection when an Instagram account encounters checkpoint. On line 139, instead of validating whether bloks.login_response exists or not, I reverted it back to its original state because the error has been handled above before everything runs, and when an error occurs, we throw an error. And on line 140, I made the usage of pk consistent instead of pk_id.

elijah-wright commented 1 year ago

alr, looks good to me