Has anyone worked with Twilio and VFP to receive replies to a Twilio number? I send with Twilio, but am investigating the best way ("easist for me") to handle responses. I imagine VFP can do it. There is a page detailing how do do it with various languages. Converting that to VFP is the trick. I have to admit that's not a strong point for me. Has anyone done this? Rick, is this something you could put into Web Connection? 😃
https://www.twilio.com/docs/messaging/tutorials/how-to-receive-and-reply
Have you tried TwilioX at https://github.com/VFPX/TwilioX ?
I think I did notice that and looked. I noticed two things. No commits in 7 years and also the description "Provides a wrapper class for calling Twilio.com to send texts." I did that myself already. I'm looking for code that can receive the callbacks from Twilio about replies to the texts I send out.
Unfortunately I have never worked with Twilio myself, I don't even think they have any operation in Europe.
Anyway, I do get some links if I Google "Twilio Foxpro", maybe one of them can help you.
If you search the message board (or use a search engine with a filter) there are several threads on using Twilio for various things.
And no this won't be integrated into Web Connection.
+++ Rick ---
@Tore - I think their status pages shows the status of their services in various countries. Beyond that, I'm not sure what they offer outside the US.
I'll do that search. Thanks. I had done a general search, but didn't find anything about this specific task. Would you put a feature like this elsewhere, like the Internet Tools? Any time a WWWC user builds a web site, they might want to communicate with other services. Of course, there are tons out there, so you can't be writing code for all of them, but something like texting - so useful and common now - might be nice. Just my $0.02
It's not a matter of utility - it's that this is a third party provider and it's not a standard protocol. It'll work as long as you use Twilio. If you use something else the protocol is different.
There's no standard and it all runs through paid APIs.
All of these APIs are pretty easy to use, so there's no need to try and create some abstraction layer that needs to be maintained and updated as vendors change specifications.
+++ Rick ---