Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Challenge #194

Merged
merged 2 commits into from
Sep 26, 2018
Merged

Challenge #194

merged 2 commits into from
Sep 26, 2018

Conversation

n0ise9914
Copy link
Contributor

Hello Mr Legotin,
I have implemented challenge resolving methods while ago but i've seen you're not maintaining the project anymore, according to your recent activities...
FYI, Instagram is recently forcing users to solve challenges (via geoip detection)
The implemented features are working very well, wish you accept my pr
&Also sorry for ugly codes, need's your cleaning xX

//reset challenge
var reset = await _instaApi.ResetChallenge();
//getVerifyStep1
var getVerfiyStep1 = await _instaApi.GetVerifyStep();
//chooseVerfiyMethod (mobile)
var chooseVerfiyMethod = await _instaApi.ChooseVerifyMethod(0);
//getVerifyStep2
var getVerfiyStep2 = await _instaApi.GetVerifyStep();
var code = Console.ReadLine();
//send verify code
var sendCode = await _instaApi.SendVerifyCode(code);
var getVerfiyStep3 = await _instaApi.GetVerifyStep();

…nto challenge

# Conflicts:
#	InstaSharper/API/IInstaApi.cs
#	InstaSharper/Classes/Result.cs
#	InstaSharper/Helpers/UriCreator.cs
@a-legotin
Copy link
Owner

Hello @n0ise9914 ! Thanks for you PR, i merge it now into develop and will clean up later on.

@a-legotin a-legotin merged commit 7ae42e6 into a-legotin:develop Sep 26, 2018
@n0ise9914
Copy link
Contributor Author

Hi Alexander ! you're welcome chief 😏

@DimasHipHop
Copy link

Can you please give me a sample how to send all requests correctly ?

@ghost
Copy link

ghost commented Dec 8, 2018

If 2FA is enabled, sendverifycode () throw an exception
[Source object is null]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants