我正在尝试使用 twilio 通过 php 发送一些短信,最后有一些简短的文本广告,其中包含一个链接。我正在使用 google url shortener 缩短链接以缩短消息长度。问题是,twilio 似乎不想发送带有 goo.gl 链接的消息。其他链接工作正常,包括使用 tinyurl 缩短的链接。显然,这与我的代码无关,因为我在尝试直接从 twilio 网络界面发送消息时遇到了同样的问题。
谁能告诉我为什么会这样?我在任何地方或谷歌上的文档中都找不到对它的任何引用。
要复制,只需转到 www.twilio.com 并尝试发送如下短信: http://goo.gl/nqUc5
注意:问题不是消息的长度。只需更改一个字母,使 url 不是 goo.gl 即可。
最佳答案
我问 Twilio 发生了什么事。这是他们的回应:
"goo.gl" links started being filtered by certain carriers very recently. we have escalated this issue to the carriers [and] have been working to try to get the filter removed. Unfortunately, we are [not] encouraged by the progress we are making and this could end up being permanent.
关于php - twilio 短信,无法在消息中发送 goo.gl 链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12452823/