{"id":17438256,"url":"https://github.com/blixt/js-instagram","last_synced_at":"2025-12-30T04:20:59.979Z","repository":{"id":4123681,"uuid":"5234815","full_name":"blixt/js-instagram","owner":"blixt","description":"This is a simple library to communicate with the Instagram API directly from JavaScript.","archived":false,"fork":false,"pushed_at":"2014-07-07T03:16:38.000Z","size":183,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-24T06:55:38.665Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blixt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-30T16:38:24.000Z","updated_at":"2021-06-30T16:00:11.000Z","dependencies_parsed_at":"2022-08-06T15:00:36.302Z","dependency_job_id":null,"html_url":"https://github.com/blixt/js-instagram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fjs-instagram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fjs-instagram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fjs-instagram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blixt%2Fjs-instagram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blixt","download_url":"https://codeload.github.com/blixt/js-instagram/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241367747,"owners_count":19951442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-17T12:04:21.499Z","updated_at":"2025-12-30T04:20:59.942Z","avatar_url":"https://github.com/blixt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScript Instagram library\n\nThis is a simple library to communicate with the Instagram API directly from\nJavaScript.\n\n## Example\n\nThis example will load the most recent likes of the current user. It will first\nsend the user to Instagram to authenticate with your application.\n\nThe images will be preloaded before the callback is called, so that the user\nwill see them all at the same time, instantly. If you want to use the data\nbefore the images are available, skip the final \"true\" argument and use the\n`InstagramImage.preload` function to preload the images (or a subset of them)\nlater.\n\n    // Get an Instagram API client.\n    var instagram = new Instagram('your_client_id');\n    \n    // Make sure the current user has been authenticated to Instagram.\n    // If the user is not authenticated, the browser will be redirected to\n    // Instagram's authentication page, then redirected back to this page.\n    if (!instagram.authenticate()) {\n      return;\n    }\n    \n    // Get the most recent images of the current user, preloaded.\n    instagram.getLikes('self', function (images) {\n      for (var i = 0, len = images.length; i \u003c len; i++) {\n        var img = document.createElement('img');\n        img.src = images[i].imageUrl;\n        document.body.appendChild(img);\n      }\n    }, true);\n\n## Notes\n\nThis API is currently in a very early stage and is lacking a lot of info in the\n`InstagramImage` class. Watch this repository for updates and feel free to\nsubmit pull requests!\n\n## MIT license\n\nThis project is licensed under an MIT license.  \n\u003chttp://www.opensource.org/licenses/mit-license.php\u003e\n\nCopyright © 2012 Blixt \u003cme@blixt.org\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixt%2Fjs-instagram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblixt%2Fjs-instagram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblixt%2Fjs-instagram/lists"}