All Projects → tioffs → InstaLite

tioffs / InstaLite

Licence: MIT license
Instagram api not official easy-to-use class, minimal number of features

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to InstaLite

Instagram api gem
A Ruby wrapper for the Instagram API
Stars: ✭ 100 (+38.89%)
Mutual labels:  instagram, api-client, instagram-api
Swiftyinsta
Instagram Private API Swift
Stars: ✭ 165 (+129.17%)
Mutual labels:  instagram, instagram-api
Instagram private api
A Python library to access Instagram's private API.
Stars: ✭ 2,273 (+3056.94%)
Mutual labels:  instagram, instagram-api
Instagram Api Python
Unofficial instagram API, give you access to ALL instagram features (like, follow, upload photo and video and etc)! Write on python.
Stars: ✭ 2,357 (+3173.61%)
Mutual labels:  instagram, instagram-api
Instabot.rb
An instagram bot works without instagram api, only needs your username and password. written in ruby
Stars: ✭ 149 (+106.94%)
Mutual labels:  instagram, instagram-api
Socialmanagertools Docs
📚 Documentation of Social Manager Tools
Stars: ✭ 151 (+109.72%)
Mutual labels:  instagram, instagram-api
Instagram Php Scraper
Get account information, photos, videos, stories and comments.
Stars: ✭ 2,490 (+3358.33%)
Mutual labels:  instagram, instagram-api
React Native Instagram Login
a react native instagram login component (support android & ios). Pull requests are welcome!
Stars: ✭ 139 (+93.06%)
Mutual labels:  instagram, instagram-api
instapi
📷 Python Instagram API
Stars: ✭ 33 (-54.17%)
Mutual labels:  instagram, instagram-api
Brutegram
Instagram multi-bruteforce Platfrom
Stars: ✭ 183 (+154.17%)
Mutual labels:  instagram, instagram-api
jekyll-instagram
A Jekyll plugin for displaying your recent Instagram photos
Stars: ✭ 24 (-66.67%)
Mutual labels:  instagram, instagram-api
Instagram Followers Bot
A bot for Instagram. You can follow users using a tag or in a specific location, unfollow those who dont follow-you-back, and follow-back those who follow you
Stars: ✭ 149 (+106.94%)
Mutual labels:  instagram, instagram-api
Mygf Instagram
Like posts of my girlfriend's Instagram using web api, don't need any api key and access tokens just login and password
Stars: ✭ 140 (+94.44%)
Mutual labels:  instagram, instagram-api
Instagrapi
Fast and effective Instagram Private API wrapper
Stars: ✭ 157 (+118.06%)
Mutual labels:  instagram, instagram-api
Instagram Bot
An Instagram bot developed using the Selenium Framework
Stars: ✭ 138 (+91.67%)
Mutual labels:  instagram, instagram-api
Instabotai
Instagram AI bot with face detection. It works without instagram api, need only login and password.
Stars: ✭ 181 (+151.39%)
Mutual labels:  instagram, instagram-api
MyIGBot
MyIGBot is a Private API for Instagram to like, follow, comment, view & intaract with stories, upload post & stories, get all information about a user/posts and get posts based on locations/hashtags. It also supports proxy.
Stars: ✭ 137 (+90.28%)
Mutual labels:  instagram, instagram-api
Instagram ssl pinning
Bypassing SSL Pinning in Instagram Android App
Stars: ✭ 135 (+87.5%)
Mutual labels:  instagram, instagram-api
Onegram
This repository is no longer maintained.
Stars: ✭ 137 (+90.28%)
Mutual labels:  instagram, instagram-api
Instagram Proxy Api
CORS compliant API to access Instagram's public data
Stars: ✭ 245 (+240.28%)
Mutual labels:  instagram, instagram-api

INSTAGRAM API InstaLite License

easy-to-use class for working with instagram, minimal number of features

Downloads Telegram

Installation

Using Composer:

composer require tioffs/instalite

Example

require_once __DIR__ . '/vendor/autoload.php';
use InstaLite\InstaLite;
$instagram = new InstaLite("username", "password", "proxy");
/** search user (return array standart instagram) **/
$user = $instagram->searchUser('alex')->id();
/** search user (return array user id [1,2,3]) **/
$user = $instagram->searchUser('alex')->all();
/** send photo **/
$instagram->uploadPhoto(__DIR__ . '/img.jpg', 'text #hashtag');
/** send message direct **/
$instagram->sendMessage('text message', [1233, 1233, 1223]);

Method

Search User

Search user instagram, nickname, username, last name, first name

$key = "search first name or username ...";
$user = $instagram->searchUser($key);
 
$user->id();
/** return array user id **/
[1, 2, 3, 4, 5, 6]

$user->all();
/** return array user standart formate instagram **/
[
    [
        pk: ""
        username: ""
        full_name: ""
        is_private: false
        profile_pic_url: ""
        profile_pic_id: ""
        is_verified: false
        has_anonymous_profile_picture: false
        mutual_followers_count: 0
        social_context: ""
        search_social_context: ""
        friendship_status: {}
        latest_reel_media: 1580484486
        seen: 0
    ],[],[]
]

Upload Photo

Send photo, upload instagram

/** file photo mimetype JPEG **/
$photo = __DIR__ . '/image.jpg';
/** Message text and Hashtag **/
$message = 'Hello InstaGram';
$upload = $instagram->uploadPhoto($photo, $message);
/** Result **/
if($upload) {
    /** upload photo sussecc **/
    echo $upload;
    /** media id **/
}

Send Message

Send message direct instagram

/** Array user id **/
$user = [12356456, 45645465];
/** Message text **/
$message = 'Hello InstaGram';
$send = $instagram->sendMessage($message, $user);
/** Result **/
if($send) {
    /** message send sussecc **/
}

Use Proxy

supports socks5 and http/https

/** socks5 **/
$instagram = new InstaLite("username", "password", "socks5://login:password@ip:port");
/** http/https **/
$instagram = new InstaLite("username", "password", "http://login:password@ip:port");

Made with from the @tioffs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].