1

When I do the following, the link comes out as standard text. Is there an esc sequence or something to tell the SMS that this is a link?

$email ="xxxx@xxxx.com"
$link = "http://www.google.com";
$phonenumber = "5555555"
$message    =   $email. " wants you to download xxxx, the awesome new app from     xxxx. Tap the link to download ". $link;


$client->account->messages->create(array( 
            'To' => $phonenumber, 
            'From' => "+15555555", 
            'Body' => $Message));   
EternalHour
  • 8,308
  • 6
  • 38
  • 57
swuth
  • 31
  • 8

2 Answers2

3

No. The SMS format doesn't support any form of markup.

SmartPhones will tend to hyperlink strings of text in SMS that match the pattern of a URL, but that's all you can do (and what you appear to be doing already).

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335
-1

OK, so iOS handles the link just fine in their SMS support. No special coding required. Now to test on Android...

swuth
  • 31
  • 8