{"id":21745138,"url":"https://github.com/dissfall/instagram-cpp","last_synced_at":"2026-03-10T05:03:59.212Z","repository":{"id":132722722,"uuid":"122648717","full_name":"Dissfall/Instagram-cpp","owner":"Dissfall","description":" The C++ library provides a simple interface for working with public Instagram API","archived":false,"fork":false,"pushed_at":"2018-08-18T16:32:11.000Z","size":17,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-11T05:35:10.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dissfall.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-02-23T16:58:26.000Z","updated_at":"2025-04-11T17:16:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d52c47a-c7b5-44ec-a324-a7e7ecc86cfe","html_url":"https://github.com/Dissfall/Instagram-cpp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Dissfall/Instagram-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dissfall%2FInstagram-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dissfall%2FInstagram-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dissfall%2FInstagram-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dissfall%2FInstagram-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dissfall","download_url":"https://codeload.github.com/Dissfall/Instagram-cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dissfall%2FInstagram-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30325603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T01:36:58.598Z","status":"online","status_checked_at":"2026-03-10T02:00:06.579Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T07:13:44.853Z","updated_at":"2026-03-10T05:03:59.180Z","avatar_url":"https://github.com/Dissfall.png","language":"C++","funding_links":["https://www.patreon.com/dissfall"],"categories":[],"sub_categories":[],"readme":"# Instagram C++ \n_The C++ library provides a simple interface for working with public Instagram API_\n\nRequires\n--------\n  * [curlpp](https://github.com/jpbarrette/curlpp)\n  * The library works according to the standard С++14 (С++11 tested)\n\nInstagram REST and Search APIs\n------------------------------\nDocumentation and last news the Instagram API you can find on [Instagram developer site](http://instagram.com/developer)\n\nBlog\n----\nYou can find me in social networks by username **_dissfall_**:\n_(Vero, twitter, instagram...)_\n\nAuthentication\n--------------\nLibrary uses Instagram access token to provide functionality. How get access token you can find there: https://instagram.com/developer/authentication/\n\nInstalation\n-----------\nUbuntu / Debian\n\nDependencies instalation:\n```\n$ sudo apt install libcurl-dev\n$ git clone https://github.com/jpbarrette/curlpp.git\n$ cd curlpp\n$ cmake .\n$ sudo make install\n```\nLibrary instalation:\n```\n$ git clone https://github.com/Dissfall/Instagram-cpp.git\n$ cd ./Instagram-cpp\n$ mkdir ./build \u0026\u0026 cd ./build\n$ cmake ..\n$ make \n$ sudo make install\n```\nSUSE\n\nDependencies instalation:\n```\n$ sudo zypper in libcurl-devel\n$ git clone https://github.com/jpbarrette/curlpp.git\n$ cd curlpp\n$ cmake .\n$ sudo make install\n```\nLibrary instalation:\n```\n$ git clone https://github.com/Dissfall/Instagram-cpp.git\n$ cd ./Instagram-cpp\n$ mkdir ./build \u0026\u0026 cd ./build\n$ cmake ..\n$ make \n$ sudo make install\n```\nExample of use\n--------------\n```\n#include \u003ciostream\u003e\n\n#include \"inslib.h\"\n\nusing namespace std;\n\nint main(int argc, char *argv[]) {\n    Session session(YOUR_ACCESS_TOKEN);\n\n    cout \u003c\u003c session.getUsersSelf();\n\n    return 0;\n}\n```\n\nEndpoints\n---------\n_All endpoints resurns **string** type_\n\n### Users\n\n#### getUsersSelf()\nReturns information about the owner of the _access_token_\nhttps://instagram.com/developer/endpoints/users/#get_users_self\n\n#### getUsersSelfRecentMedia()\nReturns the most recent media published by the owner of the _access_token_\nhttps://instagram.com/developer/endpoints/users/#get_users_media_recent_self\n\n#### searchAreaRecentMedia(double lat = 0, double lng = 0, int distance = 1000) \n**_or_** searchAreaRecentMedia(int distance = 1000)\nReturns result search for recent media in a given area\nlat -- latitude of the center search coordinate\nlng -- longitude of the center search coordinate\ndistance -- radius of searching area\nhttps://instagram.com/developer/endpoints/media/#get_media_search\n\n#### getMediaComments(_string_ mediaId)\nReturns a list of recent comments on your media object\nhttps://instagram.com/developer/endpoints/comments/#get_media_comments\n\n#### getTagInfo(_string_ tagName)\nReturns information about a tag object\nhttps://instagram.com/developer/endpoints/tags/#get_tags\n\n#### getTagRecentMedia(string tagName)\nReturns a list of recently tagged media\nhttps://instagram.com/developer/endpoints/tags/#get_tags_media_recent\n\n#### searchTag(string tagName)\nReturns result of searching tag by name\nhttps://instagram.com/developer/endpoints/tags/#get_tags_search\n\n#### getLocationInfo(string locationId)\nReturns information about a location\nhttps://instagram.com/developer/endpoints/locations/#get_locations\n\n#### getLocationRecentMedia(string locationId)\nReturns a list of recent media objects from a given location\nhttps://instagram.com/developer/endpoints/locations/#get_locations_media_recent\n\n#### searchLocation(double lat, double lng)\nReturns result of searching for a location by geographic coordinate\nhttps://instagram.com/developer/endpoints/locations/#get_locations_search\n\nContributing\n------------\nHere are some ways *you* can contribute:\n\n  * by using alpha, beta, and prerelease versions\n  * by support author on [patreon](https://www.patreon.com/dissfall)\n  * by reporting bugs\n  * by suggesting new features\n  * by writing or editing documentation\n  * by writing specifications\n  * by writing code\n  * by reviewing patches\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdissfall%2Finstagram-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdissfall%2Finstagram-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdissfall%2Finstagram-cpp/lists"}