All Projects → 1nsidE → InstagramCpp

1nsidE / InstagramCpp

Licence: GPL-3.0 License
Instagram REST API client wirtten in C++

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to InstagramCpp

Instagram User Feed
This is a scrapper to easily fetch any feed and interact with Instagram (like, follow, etc.) without OAuth for PHP.
Stars: ✭ 435 (+1712.5%)
Mutual labels:  instagram-client, instagram, instagram-api
Instagram Scraper
Scrapes an instagram user's photos and videos
Stars: ✭ 5,664 (+23500%)
Mutual labels:  instagram-client, instagram, instagram-api
Instagramlive Php
A PHP script that allows for you to go live on Instagram with any streaming program that supports RTMP!
Stars: ✭ 362 (+1408.33%)
Mutual labels:  instagram-client, instagram, instagram-api
Instagram Java Scraper
Instagram Java Scraper. Get account information, photos, videos and comments.
Stars: ✭ 335 (+1295.83%)
Mutual labels:  instagram-client, instagram, instagram-api
Instagram api gem
A Ruby wrapper for the Instagram API
Stars: ✭ 100 (+316.67%)
Mutual labels:  instagram-client, instagram, instagram-api
Swiftinstagram
Instagram API client written in Swift
Stars: ✭ 570 (+2275%)
Mutual labels:  instagram-client, instagram, instagram-api
Instapy Cli
✨ Python library and CLI to upload photo and video on Instagram. W/o a phone!
Stars: ✭ 498 (+1975%)
Mutual labels:  instagram-client, instagram, instagram-api
Instagrapi
Fast and effective Instagram Private API wrapper
Stars: ✭ 157 (+554.17%)
Mutual labels:  instagram-client, instagram, instagram-api
Igql
Unofficial Instagram GraphQL API to collet data without authentication
Stars: ✭ 80 (+233.33%)
Mutual labels:  instagram-client, instagram, instagram-api
Instagram4j
📷 Instagram private API in Java
Stars: ✭ 629 (+2520.83%)
Mutual labels:  instagram-client, instagram, instagram-api
Onegram
This repository is no longer maintained.
Stars: ✭ 137 (+470.83%)
Mutual labels:  instagram-client, instagram, instagram-api
Instagram Php Scraper
Get account information, photos, videos, stories and comments.
Stars: ✭ 2,490 (+10275%)
Mutual labels:  instagram-client, instagram, instagram-api
jekyll-instagram
A Jekyll plugin for displaying your recent Instagram photos
Stars: ✭ 24 (+0%)
Mutual labels:  instagram, instagram-api
Brutegram
Instagram multi-bruteforce Platfrom
Stars: ✭ 183 (+662.5%)
Mutual labels:  instagram, instagram-api
go-instagram
Instagram private API in Go
Stars: ✭ 71 (+195.83%)
Mutual labels:  instagram, instagram-api
FCommunity
multi Checkers (Hma/Hulu/Spotify/Call of duty/Instagram/smtp2go/VyprVpn) in One Tool Named FCommunity
Stars: ✭ 26 (+8.33%)
Mutual labels:  instagram, instagram-api
insta
Instagram power tool
Stars: ✭ 56 (+133.33%)
Mutual labels:  instagram-client, instagram
instagram-token-agent
A service to keep your Instagram Basic Display API token fresh.
Stars: ✭ 118 (+391.67%)
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 (+470.83%)
Mutual labels:  instagram, instagram-api
InstaLite
Instagram api not official easy-to-use class, minimal number of features
Stars: ✭ 72 (+200%)
Mutual labels:  instagram, instagram-api

Build Status

InstagramCpp:

Instagram REST API client Implementation of the in C++.

Project is not under active development.

Supported API's:

All official endpoints are supported.

Usage Example:

...
#include<InstagramClient.h>
...

int main(){
    /***
    retrieving OAuth response code
    ***/

    Instagram::InstagramClient instClient{};
    Instagram::AuthorizationToken authToken = instClient.authenticate(code, clientId, clientSecret, redirectUri);

    if(!authToken){
        std::cerr << "Failed to retrieve authorization token, reason : " << authToken.errorMessage() << "\n";
        return 1;
    }

    std::cout << "User with name : " << authToken.userInfo().username() << " authenticated" << "\n";

    Instagram::MediaEntries mediaEntries = instClient.getRecentMedia();
    if(!mediaEntries){
        std::cerr << "Failed to retrieve recent media, reason : " << mediaEntries.errorMessage() << "\n";
        return 1;
    }

    for(const auto& media : mediaEntries){
        std::cout << media.caption() << "\n";
        std::cout << "likes count : "  << media.likesCount() << "\n";
        std::cout << "comments count " << media.commentsCount() << "\n\n";
    }

    return 0;
}

Dependencies:

RapidJSON - https://github.com/miloyip/rapidjson

OpenSSL - https://github.com/openssl/openssl

Build Instructions:

Linux:

Tested only on Linux with 4.5 kernel.

cmake .
make

Windows:

Experimental Windows builds is supported. To build under Windows you need to provide path to the headers and .lib's of the dependencies (RapidJSON and OpenSSL).

Tested only with Visual Studio 2015.

cmake -G "Visual Studio 14 [Win64]" . -DRAPIDJSON_INCLUDE=${PATH_TO_RAPIDJSON_HEADERS} -DOPENSSL_LIB=${PATH_TO_OPENSSL_LIBS_FOLDER} -DOPENSSL_INCLUDE=${PATH_TO_OPENSSL_HEADERS}

This will create Visual Studio project.

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].