如何配置我的 Android 手机以通过彩信将图像发送到 Twilio? [英] How do I configure my Android phone to send images to Twilio via MMS?
问题描述
使用我的 Android 手机,我想通过彩信将图像分享到 Twilio 电话号码,并能够通过代码提取图像.
Using my Android phone, I want to share an image via MMS to a Twilio phone number and be able to extract the images via code.
根据我的问题,我已经设置了一个函数应用程序来捕获消息这里
I have set up a Function App to capture the message, as per my question here
然而我很惊讶地发现该消息包含以下值
I am surprised however to find that the message contains the following values
NumMedia = 0
Body =
"You+have+a+new+MMS+Picture+or+Video+Message.+To+view+your+message%2C+go+to+http%3A%2F%2Ftelstra.com%2Fmmsview etc
我希望 NumMedia 为 1,并且我能够遍历要提取的图像集合.
I was hoping that NumMedia would be 1 and that I would be able to iterate through a collection of images to extract.
我想问题是我没有通过 Twilio API 发送彩信.相反,我直接通过手机发送.
I guess the issue is that I am not sending the mms via the Twilio API. Instead I am sending it via my phone directly.
如何提取我通过短信分享的图片?是否取决于我的电话运营商?
How can I extract the pictures that I share via text message? Does it depend on my phone carrier?
[更新]我没有 Android 开发人员的经验,所以我更喜欢无代码解决方案.
[Update] I have no experience as an Android developer so I am preferring a no-code solution.
有一个 Twilio 支持链接提到了一个 Twilio URL,但是我收到了一个 Telstra URL
There is a Twilio support link that mention a Twilio URL, however I am receiving a Telstra URL
推荐答案
Twilio 建议这是因为我的 Twilio 号码不支持 MMS.我需要使用支持 MMS 的号码来尝试.目前需要是国际号码.
Twilio advises this is because my Twilio number is not MMS capable. I need to try it with an MMS Capable number. This will need to be an international number at the moment.
这篇关于如何配置我的 Android 手机以通过彩信将图像发送到 Twilio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!