Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Twilio
Message
De
23/03/2016 14:51:19
 
 
À
21/03/2016 20:26:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Twilio
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01633460
Message ID:
01633640
Vues:
124
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....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform