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

API asking for challenge when I dont need to do it #581

Open
8 of 24 tasks
xFoRdeX opened this issue Jan 30, 2023 · 0 comments
Open
8 of 24 tasks

API asking for challenge when I dont need to do it #581

xFoRdeX opened this issue Jan 30, 2023 · 0 comments

Comments

@xFoRdeX
Copy link

xFoRdeX commented Jan 30, 2023

Important note

  • You must fill this form! If you don't fill it, your issue will be close immediately.
  • Put an X character between [ ] that is related to your issue, like [x]
  • Please remove Important note from this form!
  • Don't remove other sections (unless it's unnecessarily, like Debug logs and Screenshots sections)!

I've:

Issue category

  • Bug
  • Feature Request
  • Missing Feature
  • Question
  • Not sure

Language

  • C#
  • VB.NET

Usage

  • Windows Form/Console app
  • WPF app
  • Asp .NET MVC
  • Asp .NET Core
  • Universal Windows Platform [UWP]
  • Xamarin or Xamarin Forms
  • Mono
  • Other

Operating System

  • Windows
  • Windows Server
  • Linux
  • Mac OS
  • Other

Describe your issue

Hi guys,
Im trying to use the API to connect a intagram account to an appli
So, I followed examples like this :
`var userSession = new UserSessionData
{
UserName = "blabla",
Password = "blabla"
};

    _InstaAPI = InstaApiBuilder.CreateBuilder()
                .SetUser(userSession)
                .UseLogger(new DebugLogger(LogLevel.All))
                .SetRequestDelay(RequestDelay.FromSeconds(0, 1))
                .Build();


    await _InstaAPI.SendRequestsBeforeLoginAsync();
    var loginResult = await _InstaAPI.LoginAsync();
    `

At this point, loginResult.Succeeded is true and I have no error.
To Continue, i'm doing this :
if (loginResult.Succeeded) { await _InstaAPI.SendRequestsAfterLoginAsync(); var collections = await _InstaAPI.CollectionProcessor.GetCollectionsAsync(InstagramApiSharp.PaginationParameters.MaxPagesToLoad(1)); }

Here, in collection.Info, I have the following value : challenge_required

But in my _InstaAPI, i dont have a ChallengeLoginInfo or ChallengeVerifyMethod

Did I miss something ?

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

No branches or pull requests

1 participant