-
Notifications
You must be signed in to change notification settings - Fork 241
Business account
Ramtin Jokar edited this page Oct 8, 2018
·
4 revisions
InstagramApiSharp supports Business accounts.
You can find all business functions in IInstaApi.BusinessProcessor
.
var businessAccountInformation = await InstaApi.BusinessProcessor
.GetBusinessAccountInformationAsync();
var statistics = await InstaApi.BusinessProcessor.GetStatisticsAsync();
var promotableMedias = await InstaApi.BusinessProcessor.GetPromotableMediaFeedsAsync();
var insights = await InstaApi.BusinessProcessor.GetMediaInsightsAsync("MEDIA PK");
Note: You should pass InstaMedia.Pk
to above function!!!!
var fullInsights = await InstaApi.BusinessProcessor.GetFullMediaInsightsAsync("MEDIA ID");
Note: You should pass InstaMedia.InstaIdentifier
to above function!!!
var starThread = await InstaApi.BusinessProcessor.StarDirectThreadAsync("THREAD ID");
var unstarThread = await InstaApi.BusinessProcessor.UnStarDirectThreadAsync("THREAD ID");
var partnersButton = await InstaApi.BusinessProcessor.GetBusinessPartnersButtonsAsync();
Iranian Developers (c) 2021 | Bahar 1400