Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Twilio
Message
From
23/03/2016 14:51:19
 
 
To
21/03/2016 20:26:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Twilio
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01633460
Message ID:
01633640
Views:
123
this is a start only how to work with the vfpx project twiliox.prg.

go to http://vfpx.codeplex.com/wikipage?title=TwilioX&referringTitle=Home
download the twiliox.prg its a class working with twiliox (http://vfpx.codeplex.com/releases/view/618145)
open this prg and uncoment (fill the needed strings)

*!* PUBLIC o
*!* o = NEWOBJECT("TwilioX")
*!* o.cAccount = "YourAccount"
*!* o.cAuthToken = "YourAuthToken"
*!* o.cFrom = "YourTwilioNumber"

*!* IF !o.SendText("ToNumber", "Messsage")
*!* ?"Send", "Failed", o.cErrorMessage
*!* return
*!* ELSE
*!* * Good Send
*!* endif


and run the prg.unfortunatly gives an error :
the class author forgets to ship the class libcurl.vcx (needed by the code to work).
if you get libcUrl.vcx maybe solves your problem....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform