Skip to main content
Solved

the mobile text message was always cut off by the ampersand “&”

  • August 26, 2019
  • 4 replies
  • 140 views

syang
Contributor
Forum|alt.badge.img
  • Contributor
  • 4 replies

I tried to use TwilioSMSSender to send a web link text message to my mobile. The text message was http://qgsp.maps.arcgis.com/apps/webappviewer/index.html?id=56fc6ae6f9cb4d5b8aaa554126cc50e0&find=260819MKY1 . However, the text message was always cut off by the ampersand “&”, which means my text message received was http://qgsp.maps.arcgis.com/apps/webappviewer/index.html?id=56fc6ae6f9cb4d5b8aaa554126cc50e0 .Any suggestions will be appreciated. Thank you.

Best answer by syang

@manjeetgrang​ using %26 replace "&"

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

david_r
Celebrity
  • 8392 replies
  • August 27, 2019

It could be that the ampersand is interfering with the API. Maybe try using the TextEncoder set to URL encoding first.


syang
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • 4 replies
  • August 27, 2019

@david_r It solved the problem, thank you very much!


  • 1 reply
  • September 27, 2021

HI IAM FACING SAME PROBLEM . CAN YOU PROVIDE ME SOME ADVICE HOW TO DEAL WITH & IN TWILLIO


syang
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • 4 replies
  • Best Answer
  • September 27, 2021

@manjeetgrang​ using %26 replace "&"