Open
Description
I've:
- {Searched} in Issues
- {Checked} Example projects
- {Read} wiki pages
- Not sure
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
Debug logs
If your issue has an debug log, post it here, unless remove this section!
Describe your issue
Hi all,
I have the following problem. My accounts were disabled very fast.. Just at the same day which I started using them. And I don't use Instagram client for likes, comments. I use it only for collecting data from instagram. I was thinking that it is due of different AndroidDevice values.
But I had updated building my instagram client and still had the problem just after several hours of usage.
var userSession = new UserSessionData {
UserName = _radarSettings.UserName,
Password = _radarSettings.UserPassword
};
var device = new AndroidDevice
{
AndroidBoardName = "HONOR",
DeviceBrand = "HUAWEI",
HardwareManufacturer = "HUAWEI",
DeviceModel = "PRA-LA1",
DeviceModelIdentifier = "PRA-LA1",
FirmwareBrand = "HWPRA-H",
HardwareModel = "hi6250",
DeviceGuid = new Guid("be897499-c663-492e-a125-f4c8d3785ebf"),
PhoneGuid = new Guid("7b72321f-dd9a-425e-b3ee-d4aaf476ec52"),
DeviceId = ApiRequestMessage.GenerateDeviceIdFromGuid(new Guid("be897499-c663-492e-a125-f4c8d3785ebf")),
Resolution = "1080x1812",
Dpi = "480dpi",
};
var delay = RequestDelay.FromSeconds(2, 4);
try {
s_instaApi = InstaApiBuilder.CreateBuilder()
.SetUser(userSession)
.UseLogger(new DebugLogger(InstagramApiSharp.Logger.LogLevel.Exceptions))
.UseLogger(new DebugLogger(InstagramApiSharp.Logger.LogLevel.Request))
.SetDevice(device)
.SetRequestDelay(delay)
.Build();
} catch (Exception e) {
return;
}
Could someone help me with that? What I should do to protect my account from disabling?
Metadata
Assignees
Labels
No labels