Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Support 2FA #27

Open
xmha97 opened this issue Feb 6, 2023 · 5 comments
Open

Support 2FA #27

xmha97 opened this issue Feb 6, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@xmha97
Copy link

xmha97 commented Feb 6, 2023

I can't log in to my account.
Please support 2FA.

[OkHttp https://i.instagram.com/...] INFO com.github.instagram4j.instagram4j.IGClient - Response for https://i.instagram.com/api/v1/accounts/login/ with body (truncated) : {"message":"","two_factor_required":true,"two_factor_info":{"pk":33471701853,"username":"xmha97","sm
Login failed:
Press enter to continue...

Thanks.

@xmha97
Copy link
Author

xmha97 commented Feb 6, 2023

cc: @yamin8000

@yamin8000
Copy link
Owner

cc: @yamin8000

instagram4j already supports 2fa, I just have to add the necessary code.

@yamin8000 yamin8000 self-assigned this Feb 7, 2023
@yamin8000 yamin8000 added the enhancement New feature or request label Feb 7, 2023
@xmha97
Copy link
Author

xmha97 commented Feb 7, 2023

cc: @yamin8000

instagram4j already supports 2fa, I just have to add the necessary code.

Thanks for adding.

@yamin8000
Copy link
Owner

cc: @yamin8000

instagram4j already supports 2fa, I just have to add the necessary code.

Thanks for adding.

9a72c43
Theoretically, it should be fixed now. Unfortunately, there's something wrong with my browser (some unknown CSRF token error) so I cannot test this. Maybe you could build the project with the new commit and try it, however, I'm going to create a JAR version anyway.

@xmha97
Copy link
Author

xmha97 commented Feb 7, 2023

سلام، ممنون از بررسی‌تون.
من هم نمی‌تونم توی مرورگر به حسابم لاگین کنم. مشکل از مرورگر نیست، حتی اگه با مرورگرهای مختلف هم تست کنید باز هم همین خطا رو میده. فکرمی‌کنم بخاطر فیلترشکن است.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants