Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Josh Keenan
20,315 PointsMaking an automated message resender
Hey everyone, I am making a whatsapp message re-sender. So I am gonna use the whatsapp web app and I'm planning to do it like so:
message sent by user 1 and received by desktop
message is copied
message is pasted into broadcast text box to send to predefined list of people
message is sent via broadcast
I just want any input from the community mainly on what language you think would be the best to do this with?
Thanks everyone!
1 Answer
Henrik Hansen
23,176 PointsI think the only way is to access the messages on the device that receives the message, since WhatsApp doesn't have an API (or so it seems). Thus, you will need to learn some iOS programming and Android programming. And i suppose you can get the text from the WhatsApp web.
Then maybe you can use PHP in a backend to handle the resending somehow. But I think sending it within WhatsApp will be impossible. But then again, this is based on google not being able to find an API for WhatsApp.
Josh Keenan
20,315 PointsJosh Keenan
20,315 PointsThanks Henrik, that helped!