Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ayadag authored Dec 14, 2023
1 parent 4cbe3e9 commit 261e7f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ app.post("/api/whatsapp",(req,res)=>{ //i want some

axios({
method:"POST",
url:"https://graph.facebook.com/v13.0/"+phon_no_id+"/messages?access_token="+token,
url:"https://chatbot-15485.bubbleapps.io/version-test/api/1.1/wf/wapp/initialize",
data:{
messaging_product:"whatsapp",
to:from,
phon_number_id:phon_no_id,
from:from,
text:{
body:"Hi.. I'm Prasath, your message is "+msg_body
body:msg_body
}
},
headers:{
Expand Down

0 comments on commit 261e7f1

Please sign in to comment.