-
Notifications
You must be signed in to change notification settings - Fork 241
FAQ
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!
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.
Yes, you can check TwoFactorSample for that.
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();
- Set delay while you building
IInstaApi
:
var InstaApi = InstaApiBuilder.CreateBuilder()
.SetUser(UserSessionData.Empty)
// set delay
.SetRequestDelay(delay)
.Build();
- Set delay after you created
IInstaApi
:
InstaApi.SetRequestDelay(delay);
When you want to change delay time, you can use above function too!
You can just use this:
delay.Disable();
or
InstaApi.SetRequestDelay(RequestDelay.Empty());
Yes, check VBExample
Yes, you can check UwpExample.
Yes, you can check upload video, upload photo, upload album.
Yes, there are many functions we added to MessagingProcessor. Check Direct messaging page.
Is InstagramApiSharp supports TV?
Yes, you can check TV page.
No, Instagram doesn't support pagination for media liker endpoint.
No, I don't want to add this option by myself. if anyones done it and send a PR, it will be merged.
This when happens that video is not converted yet by instagram. You should following this step #131
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
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.
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.
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.
You must use a VPN or proxy that isn't in GDPR countries. You can check what country is in GDPR in here
Iranian Developers (c) 2021 | Bahar 1400