{"id":18712208,"url":"https://github.com/sugarshin/react-instagram-embed","last_synced_at":"2025-05-15T00:09:05.134Z","repository":{"id":38050459,"uuid":"71620827","full_name":"sugarshin/react-instagram-embed","owner":"sugarshin","description":"The React component for embedding Instagram posts","archived":false,"fork":false,"pushed_at":"2025-03-03T18:05:05.000Z","size":4068,"stargazers_count":256,"open_issues_count":46,"forks_count":70,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-30T16:07:00.075Z","etag":null,"topics":["component","instagram","react"],"latest_commit_sha":null,"homepage":"https://sugarshin.github.io/react-instagram-embed/","language":"TypeScript","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/sugarshin.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":"2016-10-22T06:18:29.000Z","updated_at":"2025-02-20T01:38:45.000Z","dependencies_parsed_at":"2024-01-09T17:54:35.584Z","dependency_job_id":"ac99cfc6-fb7c-4788-acf8-774b554a9552","html_url":"https://github.com/sugarshin/react-instagram-embed","commit_stats":{"total_commits":330,"total_committers":14,"mean_commits":"23.571428571428573","dds":0.4121212121212121,"last_synced_commit":"583cde1d22e8c1a058c3121bb6f1954533d0d01d"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Freact-instagram-embed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Freact-instagram-embed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Freact-instagram-embed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshin%2Freact-instagram-embed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sugarshin","download_url":"https://codeload.github.com/sugarshin/react-instagram-embed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517905,"owners_count":20951718,"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":["component","instagram","react"],"created_at":"2024-11-07T12:40:54.760Z","updated_at":"2025-04-06T17:07:32.444Z","avatar_url":"https://github.com/sugarshin.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# react-instagram-embed\n\n[![CircleCI][circleci-image]][circleci-url]\n[![npm version][npm-image]][npm-url]\n[![License][license-image]][license-url]\n\nReact embedding Instagram posts component\n\n```bash\nyarn add react-instagram-embed\n\n# or\n\nnpm i react-instagram-embed\n```\n\n[Live demo](https://sugarshin.github.io/react-instagram-embed/)\n\n## Usage\n\n```tsx\nimport InstagramEmbed from 'react-instagram-embed';\n\n\u003cInstagramEmbed\n  url='https://instagr.am/p/Zw9o4/'\n  clientAccessToken='123|456'\n  maxWidth={320}\n  hideCaption={false}\n  containerTagName='div'\n  protocol=''\n  injectScript\n  onLoading={() =\u003e {}}\n  onSuccess={() =\u003e {}}\n  onAfterRender={() =\u003e {}}\n  onFailure={() =\u003e {}}\n/\u003e\n```\n\nAccess token is combination of App Id and Client Token. See https://developers.facebook.com/docs/instagram/oembed/#access-tokens for more details.\n\n## props\n\n- `url` {String} Instagram URL. Required\n- `clientAccessToken` {String} Instagram Client Access Token. Required\n- `maxWidth` {Number} Max width. Minimum size is `320`. Default `undefined`\n- `hideCaption` {Boolean} Default `false`\n- `containerTagName` {String} Default `'div'`\n- `protocol` {String} Instagram API script protocol. Default `''` same as current protocol\n  - This property needed if you use device's file system, for example, Electron, Cordova apps\n- `injectScript` {Boolean} Default `true`\n- `onLoading` {Function}\n- `onSuccess` {Function}\n- `onAfterRender` {Function}\n- `onFailure` {Function}\n\n## License\n\n[MIT][license-url]\n\n© sugarshin\n\n[npm-image]: https://img.shields.io/npm/v/react-instagram-embed.svg?style=flat-square\n[npm-url]: https://www.npmjs.org/package/react-instagram-embed\n[circleci-image]: https://circleci.com/gh/sugarshin/react-instagram-embed/tree/master.svg?style=svg\u0026circle-token=8991301b0db526852c58dc884a349cb8e00f1b24\n[circleci-url]: https://circleci.com/gh/sugarshin/react-instagram-embed/tree/master\n[license-image]: https://img.shields.io/:license-mit-blue.svg?style=flat-square\n[license-url]: https://sugarshin.mit-license.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarshin%2Freact-instagram-embed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsugarshin%2Freact-instagram-embed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarshin%2Freact-instagram-embed/lists"}