{"id":31532858,"url":"https://github.com/hungdev/react-customer-chat","last_synced_at":"2025-10-04T03:59:45.825Z","repository":{"id":65483085,"uuid":"178665058","full_name":"hungdev/react-customer-chat","owner":"hungdev","description":"Simple component integrate facebook customer chat plugin to your react web","archived":false,"fork":false,"pushed_at":"2019-03-31T11:35:38.000Z","size":10133,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-30T21:38:00.065Z","etag":null,"topics":["chat","customer","customer-care","customer-service","customer-support","facebook","fb","message","plugin","react"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-customer-chat","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/hungdev.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":"2019-03-31T09:03:23.000Z","updated_at":"2024-04-23T04:33:26.000Z","dependencies_parsed_at":"2023-01-25T16:46:27.799Z","dependency_job_id":null,"html_url":"https://github.com/hungdev/react-customer-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hungdev/react-customer-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungdev%2Freact-customer-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungdev%2Freact-customer-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungdev%2Freact-customer-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungdev%2Freact-customer-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hungdev","download_url":"https://codeload.github.com/hungdev/react-customer-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hungdev%2Freact-customer-chat/sbom","scorecard":{"id":473453,"data":{"date":"2025-08-11","repo":{"name":"github.com/hungdev/react-customer-chat","commit":"dc0d22c586ac2c9195e3cb7694cda3a1af17fc83"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-19T14:36:20.038Z","repository_id":65483085,"created_at":"2025-08-19T14:36:20.038Z","updated_at":"2025-08-19T14:36:20.038Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278262438,"owners_count":25957938,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["chat","customer","customer-care","customer-service","customer-support","facebook","fb","message","plugin","react"],"created_at":"2025-10-04T03:59:39.808Z","updated_at":"2025-10-04T03:59:45.820Z","avatar_url":"https://github.com/hungdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Customer Chat\n\nSimple component integrate facebook customer chat plugin to your react web\n\n\u003cimg src=\"https://github.com/hungdev/react-customer-chat/blob/master/assets/intro.gif?raw=true\"/\u003e\n\n# Install\n\n```js\nnpm install react-customer-chat --save\n```\n\n## [Setting Up the Plugin](https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin#steps)\n\nOption 1: Setup Using Developer Steps\n1. Click `Settings` at the top of your Page\n2. Click `Messenger Platform` on the left\n3. Edit whitelisted domains for your page in the `Whitelisted Domains` section\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/guide1.png\" width='100%'/\u003e\n\u003c/p\u003e\n\nOption 2: Using the Setup Tool\n1. Go to Page Settings \u003e Messenger Platform\n2. In the 'Customer Chat Plugin' section, click the 'Set Up' Button.\n\nThe setup tool provides a simple UI for customizing the greeting message, theme color, displayed response time, and setting the whitelisted domains for the plugin.\n[see more](https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin#setup_tool)\n\n\n\u003e See more details in [Customer Chat Plugin official docs](https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin) and [Customer Chat SDK official docs](https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/sdk).\n\n* How To Find Facebook Page ID?\n\nGo to the Facebook page you own/admin \u003e “About” \u003e “Page Info.”\n\nNow, at the very bottom, you can find the “Facebook Page ID”.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/guide2.png\" width='100%'/\u003e\n\u003c/p\u003e\n\n### Note: \nFor security reasons, the plugin will only render when loaded on a domain that you have whitelisted. Refer to [whitelisted_domains reference](https://developers.facebook.com/docs/messenger-platform/reference/messenger-profile-api/domain-whitelisting) to learn how to whitelist your domain programmatically.\n\u003e Domain Name and HTTPS Required\nDomains must meet the following requirements to be whitelisted:\nServed over HTTPS\nUse a fully qualified domain name, such as https://www.messenger.com/. \u003cspan style=\"color:red\"\u003eIP addresses and localhost are not supported for whitelisting.\u003c/span\u003e\n\n# Usage:\n\n```javascript\nimport CustomerChat from 'react-customer-chat'\n\n\u003cCustomerChat\n  pageId={******}\n  /\u003e\n```\n\n\n# Props\n* pageId: your page id\n* include attribute [Customizing the Plugin](https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin#customization)\n\n \n # Pull request\n  Pull requests are welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhungdev%2Freact-customer-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhungdev%2Freact-customer-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhungdev%2Freact-customer-chat/lists"}