FoxPro Programming
How to send Text Messages with VFP 9
Gravatar is a globally recognized avatar based on your email address. How to send Text Messages with VFP 9
  n/a
  All
  Mar 6, 2013 @ 03:59pm
I have West Wind Client Tools but can't find any reference to sms or Text Messaging. Is there a West Wind product that will allow me to send text messages from my VFP program? And are there examples. I'm new to this text message stuff but have been working with Fox since the mid 80s.

Gravatar is a globally recognized avatar based on your email address. Re: How to send Text Messages with VFP 9
  Rick Strahl
  John Henn
  Mar 6, 2013 @ 07:11pm
John,

No we don't provide anything like that. You need some sort of service to send SMS messages as it ties into the phone system. These services usually cost money and they're not cheap (per SMS fees). You might want to check out Twilio.

+++ Rick ---



I have West Wind Client Tools but can't find any reference to sms or Text Messaging. Is there a West Wind product that will allow me to send text messages from my VFP program? And are there examples. I'm new to this text message stuff but have been working with Fox since the mid 80s.



Rick Strahl
West Wind Technologies


from Maui, Hawaii

Making waves on the Web

Gravatar is a globally recognized avatar based on your email address. Re: How to send Text Messages with VFP 9
  n/a
  Rick Strahl
  Mar 6, 2013 @ 07:46pm
Hey Rick - (love your work)

A SMS "add-on" would be a great plus and you may find sites like https://www.clickatell.com/ offer API's. Your Tools are coded "par-excellence" so I would be a buyer for the add-on.
Only FYI as I need to roll out SMS for our product here in OZ as well.


John,

No we don't provide anything like that. You need some sort of service to send SMS messages as it ties into the phone system. These services usually cost money and they're not cheap (per SMS fees). You might want to check out Twilio.

+++ Rick ---



I have West Wind Client Tools but can't find any reference to sms or Text Messaging. Is there a West Wind product that will allow me to send text messages from my VFP program? And are there examples. I'm new to this text message stuff but have been working with Fox since the mid 80s.



Gravatar is a globally recognized avatar based on your email address. Re: How to send Text Messages with VFP 9
  n/a
  Paul
  Aug 7, 2013 @ 09:06am
I've been trying to test with Twilio. Not finding it easy at present. I created a trial account, got a Twilio phone number, and have verified my cell number. I then did this:

oHTTP = newobject("wwHTTP", "c:\wconnect\classes\wwHTTP.prg")
oHTTP.addpostkey("from", "+1<MyTwilioNumber>")
oHTTP.addpostkey("to", "+1<MyCellNumber>")
oHTTP.addpostkey("body", "Your payment is late, you sleazebag!")
m.resp = oHTTP.HTTPGet("https://api.twilio.com/2010-04-01/Accounts/<MyAccountSIDNumber>/SMS/Messages/", "<MyAccountSIDNumber>", "<MyAuthToken>")

Originally, I got an error that says "Authenticate 20003". Adding the second and third parameters to HTTPGet, above, resulted in me getting a response back that looked like it sent the test message. Unfortunately, and strangely, it appeared to simply tell me about how it successfully sent some test messages that were sent by Twilio when I was setting up my account and had zero information in it about the test message I had just tried to send (which never arrived). I'm not sure what to make of that, but I suppose it's some sort of progress.

If anybody has used Twilio and has anything to offer, I'd appreciate it.


Hey Rick - (love your work)

A SMS "add-on" would be a great plus and you may find sites like https://www.clickatell.com/ offer API's. Your Tools are coded "par-excellence" so I would be a buyer for the add-on.
Only FYI as I need to roll out SMS for our product here in OZ as well.


John,

No we don't provide anything like that. You need some sort of service to send SMS messages as it ties into the phone system. These services usually cost money and they're not cheap (per SMS fees). You might want to check out Twilio.

+++ Rick ---



I have West Wind Client Tools but can't find any reference to sms or Text Messaging. Is there a West Wind product that will allow me to send text messages from my VFP program? And are there examples. I'm new to this text message stuff but have been working with Fox since the mid 80s.





Gravatar is a globally recognized avatar based on your email address. Re: How to send Text Messages with VFP 9
  Rick Strahl
  Russell Campbell
  Aug 7, 2013 @ 04:57pm

Don't know... I've never used it but it says:

If you are sending SMS while in Trial mode, the 'To' phone number must be verified with Twilio.


+++ Rick ---


I've been trying to test with Twilio. Not finding it easy at present. I created a trial account, got a Twilio phone number, and have verified my cell number. I then did this:

oHTTP = newobject("wwHTTP", "c:\wconnect\classes\wwHTTP.prg")
oHTTP.addpostkey("from", "+1<MyTwilioNumber>")
oHTTP.addpostkey("to", "+1<MyCellNumber>")
oHTTP.addpostkey("body", "Your payment is late, you sleazebag!")
m.resp = oHTTP.HTTPGet("https://api.twilio.com/2010-04-01/Accounts/<MyAccountSIDNumber>/SMS/Messages/", "<MyAccountSIDNumber>", "<MyAuthToken>")

Originally, I got an error that says "Authenticate 20003". Adding the second and third parameters to HTTPGet, above, resulted in me getting a response back that looked like it sent the test message. Unfortunately, and strangely, it appeared to simply tell me about how it successfully sent some test messages that were sent by Twilio when I was setting up my account and had zero information in it about the test message I had just tried to send (which never arrived). I'm not sure what to make of that, but I suppose it's some sort of progress.

If anybody has used Twilio and has anything to offer, I'd appreciate it.


Hey Rick - (love your work)

A SMS "add-on" would be a great plus and you may find sites like https://www.clickatell.com/ offer API's. Your Tools are coded "par-excellence" so I would be a buyer for the add-on.
Only FYI as I need to roll out SMS for our product here in OZ as well.


John,

No we don't provide anything like that. You need some sort of service to send SMS messages as it ties into the phone system. These services usually cost money and they're not cheap (per SMS fees). You might want to check out Twilio.

+++ Rick ---



I have West Wind Client Tools but can't find any reference to sms or Text Messaging. Is there a West Wind product that will allow me to send text messages from my VFP program? And are there examples. I'm new to this text message stuff but have been working with Fox since the mid 80s.







Rick Strahl
West Wind Technologies


from Slovenia

Gravatar is a globally recognized avatar based on your email address. Re: How to send Text Messages with VFP 9
  n/a
  Rick Strahl
  Aug 7, 2013 @ 07:19pm
Oh, yeah, I meant to update this earlier, but forgot. The response I got (mentioned in my original posting) was strange, given that it was information about 3 different texts sent the previous day and had nothing to do with the text I had just tried to send. I got no error code or message, at all. Anyway, it turns out that when I changed the first three post keys to proper case, it worked fine and sent the message. They are case sensitive. Arrggghh. A pox on case sensitivity.

Don't know... I've never used it but it says:

If you are sending SMS while in Trial mode, the 'To' phone number must be verified with Twilio.


+++ Rick ---


I've been trying to test with Twilio. Not finding it easy at present. I created a trial account, got a Twilio phone number, and have verified my cell number. I then did this:

oHTTP = newobject("wwHTTP", "c:\wconnect\classes\wwHTTP.prg")
oHTTP.addpostkey("from", "+1<MyTwilioNumber>")
oHTTP.addpostkey("to", "+1<MyCellNumber>")
oHTTP.addpostkey("body", "Your payment is late, you sleazebag!")
m.resp = oHTTP.HTTPGet("https://api.twilio.com/2010-04-01/Accounts/<MyAccountSIDNumber>/SMS/Messages/", "<MyAccountSIDNumber>", "<MyAuthToken>")

Originally, I got an error that says "Authenticate 20003". Adding the second and third parameters to HTTPGet, above, resulted in me getting a response back that looked like it sent the test message. Unfortunately, and strangely, it appeared to simply tell me about how it successfully sent some test messages that were sent by Twilio when I was setting up my account and had zero information in it about the test message I had just tried to send (which never arrived). I'm not sure what to make of that, but I suppose it's some sort of progress.

If anybody has used Twilio and has anything to offer, I'd appreciate it.


Hey Rick - (love your work)

A SMS "add-on" would be a great plus and you may find sites like https://www.clickatell.com/ offer API's. Your Tools are coded "par-excellence" so I would be a buyer for the add-on.
Only FYI as I need to roll out SMS for our product here in OZ as well.


John,

No we don't provide anything like that. You need some sort of service to send SMS messages as it ties into the phone system. These services usually cost money and they're not cheap (per SMS fees). You might want to check out Twilio.

+++ Rick ---



I have West Wind Client Tools but can't find any reference to sms or Text Messaging. Is there a West Wind product that will allow me to send text messages from my VFP program? And are there examples. I'm new to this text message stuff but have been working with Fox since the mid 80s.






© 1996-2024