forked from dilame/instagram-private-api
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update constants to app version 332.0.0.38.90
- Loading branch information
Showing
11 changed files
with
2,229 additions
and
4,953 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github: [nsmle] | ||
custom: ["https://www.paypal.me/nsmle", "https://saweria.co/nsmle"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,88 +1,77 @@ | ||
# NodeJS Instagram private API client | ||
# Igramapi - Instagram API client | ||
|
||
![logo](https://cloud.githubusercontent.com/assets/1809268/15931032/2792427e-2e56-11e6-831e-ffab238cc4a2.png) | ||
<p align="center"> | ||
<a href="https://github.com/nsmle/igramapi/" target="blank"><img src="https://raw.githubusercontent.com/nsmle/igramapi/master/tools/images/igramapi.png" width="120" alt="Igramapi" /></a> | ||
</p> | ||
|
||
[![Telegram Chat](https://img.shields.io/badge/telegram-join%20chat-informational.svg)](https://t.me/igpapi) | ||
[![npm](https://img.shields.io/npm/dm/instagram-private-api.svg?maxAge=600)](https://www.npmjs.com/package/instagram-private-api) | ||
[![npm](https://img.shields.io/npm/l/instagram-private-api.svg?maxAge=600)](https://github.com/huttarichard/instagram-private-api/blob/master/LICENSE) | ||
[![Join the chat at https://gitter.im/instagram-private-api/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/instagram-private-api/Lobby) | ||
|
||
--- | ||
<p align="center">NodeJS Instagram private API client, Interact with Instagram like real devices.</p> | ||
<p align="center"> | ||
<a href="https://www.npmjs.com/package/igramapi" target="_blank"><img src="https://img.shields.io/npm/v/igramapi.svg?style=for-the-badge&logo=npm" alt="NPM Version" /></a> | ||
<a href="https://www.npmjs.com/package/igramapi" target="_blank"><img src="https://img.shields.io/github/v/release/nsmle/igramapi?style=for-the-badge&logo=github" alt="Github Version" /></a> | ||
<a href="https://github.com/nsmle/igramapi?tab=License-1-ov-file"><img src="https://img.shields.io/npm/l/igramapi.svg?style=for-the-badge&color=22a900" alt="Package License" /></a> | ||
<a href="https://www.npmjs.com/package/igramapi" target="_blank"><img src="https://img.shields.io/npm/dm/igramapi.svg?style=for-the-badge&logo=npm&color=0079a9" alt="NPM Downloads" /></a> | ||
<br> | ||
<a href="https://saweria.co/nsmle" target="_blank"><img src="https://img.shields.io/badge/Support_with_Saweria-704e37.svg?style=for-the-badge&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAAAe1BMVEVHcEyUaUInJiUrKSUpJyUrKSUnJSNrTRtSPh0qJyTWoU7/pAElJCP8nwADDCX/////qQD/uAAZHSL/sAXkkgkOFybOhQwHCQk5MCSPYRL7wD+udA7/2mz+xWKjg9jxmgny9ImvjfL06nh0a33vZ2pNSk7s7OvCwcGmmpwc4yOBAAAAC3RSTlMA/hufQHfq/v7E/luQBUUAAAqWSURBVHjapVmNeuK4Dl2gxA6xNbL8Ezuhk24Z2r7/E17LCUmBplP2nq/bfjsoOjqSZTvin2s81ZWq6v0//wn78vDTdya1AgZVbPUgnhQBeAC1+8Y/+c2hO2wUqIcZ9srHnh9mhnWbw/H4nH+krx70v1UgjLHYHTf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q//dEXJvo+xtIN0oU+JE/BObzn92r7w6EjBRcavM9Aud54UsSr5dpArwxaVr8runGgm7IvZVSVqjJDPzh9VWErQW1/PLj20n1m4Cl8T7QEqMiL8YuYggaNiw8MZnnjiKGEOD1unLxuzpp7pndmwpC8Z/8PMBCJ4NCaDDv0Erza332L4UmmPoSQpAfF9I+AQ4wi9X0S0YNX9fYuiFqRhwLPi/9RlOeLA6K11c1f3zHKx49jWx7f7Z/++X/wP4UfcwqmkmbGAAAAAElFTkSuQmCC" alt="Support with Saweria"/></a> | ||
<a href="https://paypal.me/nsmle" target="_blank"><img src="https://img.shields.io/badge/Support_with_PayPal-253BBF.svg?style=for-the-badge&logo=paypal" alt="Support with PayPal"/></a> | ||
<a href="https://github.com/sponsors/nsmle" target="_blank"><img src="https://img.shields.io/badge/Support_with_Github-3f3976.svg?style=for-the-badge&logo=github" alt="Support with Github"/></a> | ||
</p> | ||
|
||
# Next Major Version | ||
> Are you lost and looking for igramapi php/laravel? | ||
> Now the name is [Igramavel](https://github.com/nsmle/igramavel) and it still uses the same [instagram-user-feed](https://github.com/nsmle/instagram-user-feed) lib. | ||
> | ||
[Nerix](https://github.com/Nerixyz) and I are excited to announce the next 3.x.x version of this library. | ||
It features an extended list of capabilities and is a significant release. | ||
We have substantially expanded the functionality and possibilities. | ||
The library has transformed into a monorepository and is now a set of libraries connected in an ecosystem. | ||
It consists of: | ||
|
||
- Android API | ||
- Web API | ||
- FBNS, Realtime | ||
|
||
We've made some design decisions and simplified the state management process. | ||
Now, you can easily create a snapshot of the account state, save it in persistent storage, and restore a 1-to-1 copy with just one function call. | ||
With new realtime features, you can listen for new direct messages, notifications, and other events. | ||
|
||
You can take a look at the type documentation for the next version by following this link – [https://docs.igpapi.com](https://docs.igpapi.com/) | ||
|
||
The new version is hosted in a private repository and access is paid. | ||
Members receive exhaustive support for the entire integration process. | ||
|
||
Contact me in [telegram](https://t.me/bowzee) or [email](mailto:[email protected]) for details. | ||
This package/repository could be outdated, deleted, access made private, not working as it should, or something else. | ||
I can't guarantee its continuity, so if you experience problems please [open a new issue](https://github.com/nsmle/igramapi/issues/new/choose) or consider [instagram-private-api](https://github.com/dilame/instagram-private-api). | ||
After [Igramapi v1.48.0](https://github.com/nsmle/igramapi/releases/tag/v1.48.0) the fork will no longer be synced with [instagram-private-api](https://github.com/dilame/instagram-private-api) and will be a standalone repository. | ||
|
||
# Table of Contents | ||
|
||
- [Install](#install) | ||
- [Support us](#support-us) | ||
- [Installation](#installation) | ||
- [Examples](#examples) | ||
- [Basic Concepts](#basic-concepts) | ||
- [Feeds](#feeds) | ||
- [Repositories](#repositories) | ||
- [Services](#services) | ||
- [Debugging](#debugging) | ||
- [Contribution](#contribution) | ||
- [Useful Links](#useful-links) | ||
- [Special Thanks](#special-thanks) | ||
- [Thanks to Contributors](#thanks-to-contributors) | ||
- [End User License Agreement (EULA)](#end-user-license-agreement-eula) | ||
- [Special Thanks](#special-thanks) | ||
|
||
|
||
# Install | ||
# Installation | ||
|
||
From npm | ||
|
||
``` | ||
npm install instagram-private-api | ||
npm install igramapi | ||
``` | ||
``` | ||
yarn add igramapi | ||
``` | ||
|
||
From github | ||
|
||
``` | ||
npm install github:dilame/instagram-private-api | ||
npm install github:nsmle/igramapi | ||
``` | ||
|
||
This package uses [`url-regex-safe`](https://www.npmjs.com/package/url-regex-safe) ([GitHub](https://github.com/spamscanner/url-regex-safe)) to check for links when sending direct messages. | ||
By default, the **safe** regex engine [`re2`](https://github.com/uhop/node-re2) is **not** installed. | ||
⚠ It's highly recommended for you to install `re2` by running `npm install re2`, else you _will_ be vulnerable to [CVE-2020-7661](https://nvd.nist.gov/vuln/detail/CVE-2020-7661). | ||
|
||
# Support us | ||
|
||
If you find this library useful for you, you can support it by donating any amount | ||
|
||
BTC: 1Dqnz9QuswAvD3t7Jsw7LhwprR6HAWprW6 | ||
|
||
# Examples | ||
|
||
You can find usage examples [here](examples). | ||
> Note for JavaScript users:_ | ||
> As of Node v.13.5.0, there isn't support for ESModules and the 'import'-syntax. | ||
> So you have to read the imports in the examples like this: | ||
> `import { IgApiClient } from 'igramapi'` ➡ `const { IgApiClient } = require('igramapi')` | ||
_Note for JavaScript users:_ | ||
As of Node v.13.5.0, there isn't support for ESModules and the 'import'-syntax. | ||
So you have to read the imports in the examples like this: | ||
|
||
`import { A } from 'b'` ➡ `const { A } = require('b')` | ||
You can find more usage examples [here](examples). | ||
|
||
```typescript | ||
import { IgApiClient } from 'instagram-private-api'; | ||
import { IgApiClient } from 'igramapi'; | ||
import { sample } from 'lodash'; | ||
|
||
const ig = new IgApiClient(); | ||
|
@@ -127,7 +116,7 @@ You'll often see `ig` in the docs. | |
This just refers to the client, an instance of [`IgApiClient`](docs/classes/index/IgApiClient.md) holding the state for one user. | ||
|
||
```typescript | ||
import { IgApiClient } from 'instagram-private-api'; | ||
import { IgApiClient } from 'igramapi'; | ||
|
||
// This is the general convention on how to name the client | ||
// vv | ||
|
@@ -182,16 +171,21 @@ If you need features that is not implemented - feel free to implement and create | |
|
||
Plus we need some documentation, so if you are good in it - you are welcome. | ||
|
||
Setting up your environment is described [here](CONTRIBUTING.md). | ||
Setting up your environment is described [here](.github/CONTRIBUTING.md). | ||
|
||
# Useful links | ||
# Useful Links | ||
|| Language | Description | | ||
|-|-|-| | ||
| [instagram_mqtt](https://www.npmjs.com/package/instagram_mqtt) | NodeJs | instagram realtime and fbns | | ||
| [instagram-private-api](https://www.npmjs.com/package/instagram-private-api) | NodeJs | instagram private api client | | ||
| [instagram-id-to-url-segment](https://www.npmjs.com/package/instagram-id-to-url-segment) | NodeJs | convert the image url fragment to the media id | | ||
| [instagram-user-feed](https://github.com/nsmle/instagram-user-feed) | PHP | instagram browser api client | | ||
| [igramavel](https://github.com/nsmle/igramavel) | PHP | instagram restful api laravel | | ||
||| | ||
|
||
[instagram-id-to-url-segment](https://www.npmjs.com/package/instagram-id-to-url-segment) - convert the image url fragment to the media ID | ||
|
||
## Special thanks | ||
|
||
- [Richard Hutta](https://github.com/huttarichard), original author of this library. Thanks to him for starting it. | ||
|
||
## Thanks to contributors | ||
|
||
- [Nerixyz](https://github.com/Nerixyz), for writing a huge amount of code for this library. | ||
- [Richard Hutta](https://github.com/huttarichard), original author of instagram-private-api library. Thanks to him for starting it. | ||
- [Dmitry](https://github.com/dilame), co-author of instagram-private-api library. | ||
- [Nerixyz](https://github.com/Nerixyz), for writing a huge amount of code for instagram-private-api library. |
Oops, something went wrong.