Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7563887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:46:42+00:00 2026-05-30T13:46:42+00:00

How can I include a url in an outgoing text message using twilio API?

  • 0

How can I include a url in an outgoing text message using twilio API? I tried, but the message was not sent. Is there a specific format? syntax?

Update:
Here’s the code: (I am using the php api)
Perhaps the problem is with using a variable in the link? or maybe in a different format?

$sms = $client->account->sms_messages->create(
    "xxx-xxx-xxxx", 
    $send_to_number, 
    "Hey $var1. words words $var2. via example.com. 
    see: https://graph.facebook.com/$fb_id/picture"); 

The example.com link works perfect, so do $var1 and $var2. But when adding the last link which includes a variable (and it is from facebook graph api, but I don’t think that matters), then the message is not sent. Is there any way to solve this without url shortener?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T13:46:44+00:00Added an answer on May 30, 2026 at 1:46 pm

    The message is too long.
    There is a limit of characters in a twilio message. This has nothing to do with the variable. It now works, just shortened the text.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've seen on some sites that you can include images in CSS using a
I know it as secure-token URL, maby there is another name out there. But
This may sound like a weird question but is there any where I can
How can include .asp file inside of html file and have it proccessed besides
I wonder how a can include an pre-compiled binary in an iPhone application. I
With Msbuild v3.5 I can include the /m switch to enable multiprocessor support .
I would like to know if I can include some Jquery inside another JQuery
Here is what I have- How I can include multiple keys and their values
I'm looking for a key/value pair object that I can include in a web
I have a loooooooooooong SELECT ending with a ORDER BY that can include the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.