Skip to content
Ramtin Jokar edited this page Oct 24, 2020 · 17 revisions

How many platform InstagramApiSharp supports?

We support:

  • .net framework v4.5.2 and newer
  • .net standard v1.3 and v2.0 and newer
  • .net core (uwp) build 10240 and newer

So you can use our library in WPF, Winform, UWP, ASP.NET Mvc and ASP.NET Core , Xamarin.

Is it possible to create new account with InstagramApiSharp ?

Yes, you can create new account with email and phone number with this library. Check Create new account page.

I can't create new account, I can create new account but it's disabled after creating new one. What should I do?

I don't know, Please don't open new issue about creating new account, because I'm gonna close it immediately!

Is it possible to login with Facebook?

InstagramApiSharp is not supports facebook login as a built-in feature, but you can login with facebook via some helps that our library gives you.

There is an FacebookLoginExample that you should check it.

Is Two factor authentication supports?

Yes, you can check TwoFactorSample for that.

Is it possible to set delay between requests?

Yes, there are two ways that you can set delay between requests.

var delay = RequestDelay.FromSeconds(2, 5);
// enable delay between requests:
delay.Enable();
// // disable delay between requests:
// delay.Disable();
  1. Set delay while you building IInstaApi:
var InstaApi = InstaApiBuilder.CreateBuilder()
    .SetUser(UserSessionData.Empty)
    // set delay
    .SetRequestDelay(delay)
    .Build();
  1. Set delay after you created IInstaApi:
InstaApi.SetRequestDelay(delay); 

When you want to change delay time, you can use above function too!

How can I disable delay between requests?

You can just use this:

delay.Disable();

or

InstaApi.SetRequestDelay(RequestDelay.Empty());

Is there any Visual Basic .NET (VB.NET) sample?

Yes, check VBExample

Is there any Universal Windows Platform(UWP) sample for save/load session?

Yes, you can check UwpExample.

Is it possible to upload video, photo or album to instagram?

Yes, you can check upload video, upload photo, upload album.

Is it possible to create an tiny app for direct messaging?

Yes, there are many functions we added to MessagingProcessor. Check Direct messaging page.

Is InstagramApiSharp supports TV?

Yes, you can check TV page.

Is it possible to get more than 1000 media liker?

No, Instagram doesn't support pagination for media liker endpoint.

Is it possible to use Push notifications?

No, I don't want to add this option by myself. if anyones done it and send a PR, it will be merged.

I got Transcode not finished yet or Timeout exception while uploading video or video album.

This when happens that video is not converted yet by instagram. You should following this step #131

Errors

What is checkpoint required? or checkpoint_logged_out

This issue is related to login, if you across this error, you need to re-login your account by calling LoginAsync and save your sate(session).

I've an bugfix for this https://github.com/ramtinak/InstagramApiSharp/commit/c44e2b3ed76fe209a83d88183f8d9de329aa2399 while you are calling LoginAsync, so you won't be across to this error, while you calling LoginAsync function

What is Feedback required orfeedback_required ?

feedback_required means that you are blocked from doing something in Instagram, It might be comment/caption or like/unlike or follow/unfollow or save/unsave media or even direct APIs.

For example this response says that got blocked from commenting:

  {
    "message": "feedback_required",
    "comment_error_key": "comment_si_blocked",
    "spam": true,
    "feedback_title": "Try Again Later",
    "feedback_message": "We restrict certain activity to protect our community. Tell us if you think we made a mistake.",
    "feedback_url": "repute/report_problem/instagram_comment/",
    "feedback_appeal_label": "Report problem",
    "feedback_ignore_label": "OK",
    "feedback_action": "report_problem",
    "status": "fail"
  }

comment_error_key filled with comment_si_blocked . Response errors might different response in different situations. In somewhere errors placed in error_type property.

Can I fix it? Yes, the simplest way is that you have a fresh new login (re-login) and save your session[state file] again.

What is challenge required? or checkpoint_challenge_required

Challenge require error when appears that you are try to login multiple times with different devices. Sometimes instagram will block suspicious IP address, and then we need to pass challenge require. Sometimes when you create an account with email address, instagram shows you this error, to add a valid phone number.

Is InstagramApiSharp has functions for dealing with challenge require?

Yes, You can check ChallengeRequireExample and InstaPost to see how challenge functions works.

What is consent required? or consent_required

This error when appears that you are trying to do anything in countries that requires General Data Protection Regulation (GDPR) law. (will appears in European countries.) Sometimes when it happens that you didn't add any valid phone number to your account (only in GDPR countries). and you have to add phone number and validate that.

Is InstagramApiSharp has functions for dealing with consent require?

At the moment, No, it hasn't. I tested every piece of packets that official instagram app is using, but it doesn't work at all.

How can I use my saved session when constantly showing me consent required error?

You must use a VPN or proxy that isn't in GDPR countries. You can check what country is in GDPR in here

Clone this wiki locally