{"id":20730512,"url":"https://github.com/ttfh/wa-cloud-api","last_synced_at":"2025-04-23T22:00:42.552Z","repository":{"id":49501335,"uuid":"517722065","full_name":"TTFH/wa-cloud-api","owner":"TTFH","description":"WhatsApp Cloud Api implementation in React Native and Node.js","archived":false,"fork":false,"pushed_at":"2022-09-01T18:09:17.000Z","size":1743,"stargazers_count":11,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T03:51:11.890Z","etag":null,"topics":["react-native","whatsapp"],"latest_commit_sha":null,"homepage":"","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/TTFH.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":"2022-07-25T15:33:28.000Z","updated_at":"2024-07-11T14:58:41.000Z","dependencies_parsed_at":"2022-08-12T20:11:41.239Z","dependency_job_id":null,"html_url":"https://github.com/TTFH/wa-cloud-api","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/TTFH%2Fwa-cloud-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TTFH%2Fwa-cloud-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TTFH%2Fwa-cloud-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TTFH%2Fwa-cloud-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TTFH","download_url":"https://codeload.github.com/TTFH/wa-cloud-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250522299,"owners_count":21444511,"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":["react-native","whatsapp"],"created_at":"2024-11-17T05:11:49.461Z","updated_at":"2025-04-23T22:00:42.442Z","avatar_url":"https://github.com/TTFH.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WhatsApp Cloud Api implementation in React Native and Node.js  \n### A working application to send and receive WhatsApp, Messenger and Instagram messages* using Meta's Cloud Api  \n\n![Inbox](https://github.com/TTFH/wa-cloud-api/blob/main/preview/inbox.jpg)\n\n![Chat](https://github.com/TTFH/wa-cloud-api/blob/main/preview/chat.jpg)\n  \n**Warning:** This application contains JS code, use at your own risk.  \n\\* only text messages are currently implemented  \n\n## Installation\nInstall Node.js from https://nodejs.org/en/download/current/  \nIf you are using Windows 7 use this version https://nodejs.org/dist/v14.16.1/node-v14.16.1-x64.msi  \nand create an Environment variable called: NODE_SKIP_PLATFORM_CHECK and set it to 1  \n\nOpen a command prompt at the folder `wa-cloud-api`  \nInstall the dependencies with the command `npm install` (it will take a while)  \n\n## Run the front\nExecute `npm start`  \nThen type 'w'  \n\n## Run the server\nOpen a command prompt at the folder `Server`  \n`node server.js`  \nOpen another command prompt at the folder `Server`  \n`ngrok http --region eu 3000`  \nOpen http://localhost:4040/ in your browser and copy your server URL  \n\n## Configure Meta's WhatsApp Cloud API\nFirst, you need a Facebook account :(  \nGo to https://developers.facebook.com/ and create an App of type Business  \nClick on Add Product and select WhatsApp  \nGo to Getting started and copy your Temporary access token and your Phone number ID to Server/server.js (you can also get a permanet token)  \nGo to Configuration and edit your Callback URL, add your server URL (https://???.eu.ngrok.io/webhook) and set your Verify token from Server/server.js  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttfh%2Fwa-cloud-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttfh%2Fwa-cloud-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttfh%2Fwa-cloud-api/lists"}