Hacker News new | ask | show | jobs
by seszett 4609 days ago
If you won't do anything with the telephone numbers you collect, you might want to mention it on your page. Otherwise, well no thanks for selling or using them later for something else without explicit consent.

By the way, it seems you have an uncaught exception here when giving a number which isn't a cell phone:

  Fatal error: Uncaught exception 'Services_Twilio_RestException' with message 'To number: +33123456789, is not a mobile number' in /home/nunney/cheerup/twilio/Services/Twilio.php:213 Stack trace: #0 /home/nunney/cheerup/twilio/Services/Twilio.php(185): Services_Twilio->_processResponse(Array) #1 /home/nunney/cheerup/twilio/Services/Twilio/ListResource.php(83): Services_Twilio->createData('/2010-04-01/Acc...', Array) #2 /home/nunney/cheerup/twilio/Services/Twilio/Rest/SmsMessages.php(17): Services_Twilio_ListResource->_create(Array) #3 /home/nunney/cheerup/index.php(91): Services_Twilio_Rest_SmsMessages->create('13039005542', '+33123456789', 'You rock. I mea...') #4 {main} thrown in /home/nunney/cheerup/twilio/Services/Twilio.php on line 213
1 comments

I've added in a footer comment re storing numbers - good call. Not storing numbers, mostly because I have morals.

Cheers for pointing out the uncaught exception. You deserve a hug.