Skip to content
Ramtin Jokar edited this page Oct 31, 2018 · 17 revisions

How many platform InstagramApiSharp supports?

We support:

  • .net framework v4.5.2 and newer
  • .net standard v2.0 and newer
  • .net core (uwp) build 14393 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.

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 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.

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 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