Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 14 2017 18:43
    @IvanMMM banned @xgemboy
${Mr.DJA}
@iMrDJAi_twitter
How to convert that to javascript?
In js there is require() function
This message was deleted
should i use const IgApiClient = require('./src'); ??
and ./src is not a module, its a file location
${Mr.DJA}
@iMrDJAi_twitter
Nvn I found it:
const { IgApiClient } = require("instagram-private-api");
const ig = new IgApiClient();
Typescript always confuses me *-*
nerix
@Nerixyz
In newer versions you'll also be able to use the import syntax.
${Mr.DJA}
@iMrDJAi_twitter
sfpz
@sfpz
Hi
YambaLike.com
@yambalike_twitter
Hi
YambaLike.com
@yambalike_twitter
I will sell a private library for working with Instagram, increased action limits
james1touch
@james1touch
Is anyone here?
Yamba, can you give me more information regarding that library
teomoiseev
@teomoiseev
Hello, I have many errors when I import IgApiClient in Ionic Angular.
import { IgApiClient } from 'instagram-private-api';

const ig = new IgApiClient();
Errors I get:
[ng] node_modules/instagram-private-api/dist/feeds/stories-insights.feed.d.ts:8:19 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 8     protected set state(response: StoriesInsightsFeedResponseRootObject);
[ng]                     ~~~~~
[ng] node_modules/instagram-private-api/dist/feeds/tag.feed.d.ts:6:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 6     set state(body: TagFeedResponse);
[ng]           ~~~~~
[ng] node_modules/instagram-private-api/dist/feeds/tags.feed.d.ts:9:19 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 9     protected set state(body: TagsFeedResponse);
[ng]                     ~~~~~
[ng] node_modules/instagram-private-api/dist/feeds/timeline.feed.d.ts:8:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 8     set state(body: any);
[ng]           ~~~~~
[ng] node_modules/instagram-private-api/dist/feeds/user-story.feed.d.ts:7:19 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 7     protected set state(response: any);
[ng]                     ~~~~~
[ng] node_modules/instagram-private-api/dist/feeds/user.feed.d.ts:6:19 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 6     protected set state(body: UserFeedResponse);
[ng]                     ~~~~~
[ng] node_modules/instagram-private-api/dist/feeds/usertags.feed.d.ts:6:19 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 6     protected set state(body: UsertagsFeedResponseRootObject);
[ng]                     ~~~~~
[ng] node_modules/instagram-private-api/dist/services/simulate.service.d.ts:3:17 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 3     private get preLoginFlowRequests();
[ng]                   ~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/instagram-private-api/dist/services/simulate.service.d.ts:4:17 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 4     private get postLoginFlowRequests();
[ng]                   ~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/attachment.sticker.d.ts:7:9 - error TS1086:
An accessor cannot be declared in an ambient context.
[ng] 7     get id(): string;
[ng]           ~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/attachment.sticker.d.ts:8:9 - error TS1086:
An accessor cannot be declared in an ambient context.
[ng] 8     get key(): string;
[ng]           ~~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/attachment.sticker.d.ts:9:9 - error TS1086:
An accessor cannot be declared in an ambient context.
[ng] 9     get additionalConfigureProperties(): any;
[ng]           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/chat.sticker.d.ts:9:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 9     get id(): string;
[ng]           ~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/chat.sticker.d.ts:10:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 10     get key(): string;
[ng]            ~~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/countdown.sticker.d.ts:5:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 5     get endTs(): DateTime | number;
[ng]           ~~~~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/countdown.sticker.d.ts:6:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 6     set endTs(value: DateTime | number);
[ng]           ~~~~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/countdown.sticker.d.ts:16:9 - error TS1086:
An accessor cannot be declared in an ambient context.
[ng] 16     get id(): string;
[ng]            ~~
[ng] node_modules/instagram-private-api/dist/sticker-builder/stickers/countdown.sticker.d.ts:17:9 - error TS1086:
An accessor cannot be declared in an ambient context.
[ng] 17     get key(): string;
[ng
Can anyone help me please?
NikitaSd1
@NikitaSd1
anybody here?
Maybe you know, how to register instagram account via this bot or another? Is't possible?
borut
@borutkitak
@NikitaSd1, from documentation looks like that it is possible to create ig account with ig.account.create({ username, password, email, first_name });
〔V Ξ K T R I X 〕
@Vektrix2_twitter
is there a feed to get instagram's recommended users to follow
Hemant
@HemantIndor_twitter
hi
there is possiblity to go live on IG via api
Hemant
@HemantIndor_twitter

I will sell a private library for working with Instagram, increased action limits

hello please quote me privatly

nerix
@Nerixyz
@HemantIndor_twitter
You can go live
RogueStatistician
@RogueStatistician
hi everyone
can someone help me with a little issue with hashtags in stories? can't understand how to render them
Hemant
@HemantIndor_twitter
@Nerixyz can i get skype id
Hemant
@HemantIndor_twitter
@Nerixyz @yambalike_twitter hi
Umut Acerbastimur
@acerbastimur
Hi guys, how can i get my all story viewers ?
ThuanLT
@lethuan692
Hi All, Can i intergrate this lib with angular ( in client side )?
Thanks
nerix
@Nerixyz
Only with something like electron that can disable CORS
pankaj123love
@pankaj123love
@Nerixyz, is any way we can add video file in live streaming?
pankaj123love
@pankaj123love
@Nerixyz , i have read your one more answer regarding "It's risky because Instagram considers your server as a bot and tries to limit you. This will work fine with one account, but using multiple accounts over the same IP can get your server blocked." so please guide me how we can use multiple account
Vladislav Starokozhev
@AgressoRps
Hi! Tell the endpoint for resetting the password for mail during authorization?
Ramazan Uluçay
@ramazanulucay
Hi, I want to use this package with mobile software, but I failed. Does anyone make a simple example with react or flutter.
progl
@progl
Hi all! Can anyone help about sn_nonce? I'm trying to register accc via api and can't generate nonce - ig tells its invalid, and I send understand from where it must be? I decoded it to user|time|24random bytes but still have an error.
icelts
@icelts
@progl which api vertion do you use?
Rossossos
@Rossossos
Hi, I have a question: I uploaded a photo using publish.photo. It worked and i got a organic_tracking_token and id in the console, but the photo isnt apearing on my instagram. What can I do?
MariaJsn
@MariaJsn
Hi Guys
Is there any option to use this api in my Swift code?
Ahmed Bayoumy
@bayoumymac
Hello hello
was wondering if anyone knows how to send post in a directmessage
Giacomo Echevers
@ambrosino94

Hi everyone, dunno if I'm gonna get a response, but it's worth the try.

So i'm trying to get access to my saved posts, which is neatly done by this tool https://github.com/pietrocaselani/Instagram-Saved-Posts, which at the same time is powered by the instagram-private-api.

All in all that's what I want, but my idea is to access saved posts, yes, but including the collection tag that you input when saving such posts. I already manually categorized them how I wanted, now i want to access to my categorized saved posts. Sadly that tool doesn't provide such field when generating the output .json.

I tried looking the output of the items in key saved inside the output Feed of instagram-private-api, but couldn't find anything related to the tags I wrote in my collections in Instagram.

So anyone here knows something that could help me out? It would be greatly appreciated.

Omer-Ozc
@Omer-Ozc
Hi everyone, can someone help me to do instagram private api connect to react native
Goshalbey
@Goshalbey
Hi there, Can anybody tell me how to sync instagram contacts. As all new version of IG doesn't show my phone contacts on IG.?
peylight
@peylight
Any python Instagram Private API exist?
Markus Luan
@MarkusLuan
Hello guys, I'm trying to create an app in Python for live on Instagram, but suddenly stopped logging in. If you can help, thank you.
And in the log I see only the message "Oops, an error occurred."
In my code I make a post for "https://i.instagram.com/api/v1/accounts/login/" passing the parameters
"_csrftoken": token,
"adid": str (Constants.DEVICE),
"guid": str (Constants.DEVICE),
"phone_id": str (Constants.DEVICE),
"device_id": Constants.ANDROID_DEVICE,
"username": user,
"password": password,
"login_attempt_count": 0