{"id":23177663,"url":"https://github.com/dimitrisniras/inbound-message-chat","last_synced_at":"2025-08-31T16:35:41.370Z","repository":{"id":83095301,"uuid":"385961380","full_name":"dimitrisniras/inbound-message-chat","owner":"dimitrisniras","description":"Simple chat app, using React and Vonage APIs","archived":false,"fork":false,"pushed_at":"2021-07-14T16:07:15.000Z","size":403,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T10:15:14.661Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimitrisniras.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-07-14T14:03:38.000Z","updated_at":"2021-07-14T16:07:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd89849e-477b-4fd6-a758-c7c99c335c2a","html_url":"https://github.com/dimitrisniras/inbound-message-chat","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/dimitrisniras%2Finbound-message-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Finbound-message-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Finbound-message-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimitrisniras%2Finbound-message-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimitrisniras","download_url":"https://codeload.github.com/dimitrisniras/inbound-message-chat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276097,"owners_count":20912287,"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-12-18T06:36:01.109Z","updated_at":"2025-04-05T01:42:59.057Z","avatar_url":"https://github.com/dimitrisniras.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inbound-message-chat\n\nThis React application allows you to receive inbound messages from Facebook users to your Facebook Page and persists the events in a conversation named `inboundMessagesConversation`. During the initial login, you pass a\nuser token and the user is being added automatically to the `inboundMessagesConversation` conversation, listening for all the events that are coming through.\n\n## Capabilities\n\nAdds Messages capability to your nexmo application and configures the `Inbound URL` and `Status URL` webhooks (`messagesInbound` and `messagesStatus` in `index.js`).\n\n## Linking a Facebook page\n\nCurrently the `conversation-api-function` cli tool doesn't support linking a facebook page to your nexmo applications, so this step has to be done manually via the vonage dashboard.\n\nTo link a FB page to your application:\n* Link your FB page to your vonage account https://dashboard.nexmo.com/messages/social-channels/facebook-connect\n* Go to your application (Application information can be found by running `conversation-api-function config`)\n* Click `Link social channels` tab and link your FB page\n\n## To run the server\n\nPre-requisite: node version \u003e= 14 `nvm use`\n\n`npm run server`\n\n## Endpoints\n\nThe application exposes two endpoints:\n* GET `/api/conversations`: Lists all the conversations associated with your nexmo application\n* GET `/api/conversationEvents`: Lists all the events of the conversation name `inboundMessagesConversation`\n\n## To run the client\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrisniras%2Finbound-message-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitrisniras%2Finbound-message-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitrisniras%2Finbound-message-chat/lists"}