{"id":22602836,"url":"https://github.com/wahengchang/instagram-oauth-nodejs-server","last_synced_at":"2025-04-11T03:24:17.390Z","repository":{"id":84319763,"uuid":"89842447","full_name":"wahengchang/instagram-oauth-nodejs-server","owner":"wahengchang","description":"Node.js server for Intagram-API OAuth purpose.","archived":false,"fork":false,"pushed_at":"2017-04-30T10:55:35.000Z","size":5,"stargazers_count":13,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-22T01:38:15.657Z","etag":null,"topics":["example","instagram","instagram-api","nodejs","oauth","oauth2","tutorial"],"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/wahengchang.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-30T09:47:44.000Z","updated_at":"2024-02-11T04:21:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"47f6b647-96a0-46fc-ae26-f254181f4a8f","html_url":"https://github.com/wahengchang/instagram-oauth-nodejs-server","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/wahengchang%2Finstagram-oauth-nodejs-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wahengchang%2Finstagram-oauth-nodejs-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wahengchang%2Finstagram-oauth-nodejs-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wahengchang%2Finstagram-oauth-nodejs-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wahengchang","download_url":"https://codeload.github.com/wahengchang/instagram-oauth-nodejs-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248334576,"owners_count":21086422,"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":["example","instagram","instagram-api","nodejs","oauth","oauth2","tutorial"],"created_at":"2024-12-08T12:42:37.655Z","updated_at":"2025-04-11T03:24:17.376Z","avatar_url":"https://github.com/wahengchang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# instagram-oauth-nodejs-server\nIt is a template is ready to use, setting up a Node.js server for Intagram-API OAuth purpose.\n\n[Blog](https://hackernoon.com/instagramapi-set-up-nodejs-server-to-get-access-token-in-3-step-34c66039cffc)\n\n## Things we need\n - Create an Instagram Application\n - Copy Client ID and Client Secret to this project\n - Prepare a domain name, where Node.js server is hosted, add it to Valid redirectURL\n\n![instaggram](https://cloud.githubusercontent.com/assets/5538753/25563344/35335676-2dcd-11e7-9035-dcdb8fea41e3.jpg)\n\n## Run\nThe Node.js server have to be run on the server where match the field `Valid redirectURL` in Intagram Configuration\n\nRun\n```\n$ git clone https://github.com/wahengchang/instagram-oauth-nodejs-server\n$ cd instagram-oauth-nodejs-server\n$ npm isntall \n```\n\nThen set up:\n - process.env.INSTANGRAM_CLIENT_ID\n - process.env.INSTANGRAM_CLIENT_SECRET\n - process.env.INSTANGRAM_BASE_URL\n```\n$ npm start\n```\n\n## Get access token\n```\nGET https://www.instagram.com/oauth/authorize?client_id={CLIENT_ID}\u0026redirect_uri={http://youhost/authorize_user}\u0026response_type=code\n```\n\n\n## Reference\n - [https://www.instagram.com/developer/authentication](https://www.instagram.com/developer/authentication)\n - [https://www.npmjs.com/package/instagram-node](https://www.npmjs.com/package/instagram-node)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwahengchang%2Finstagram-oauth-nodejs-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwahengchang%2Finstagram-oauth-nodejs-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwahengchang%2Finstagram-oauth-nodejs-server/lists"}