How do I configure my Android phone to send images to Twilio via MMS?

丶灬走出姿态 提交于 2020-01-05 08:37:09

问题


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

I was hoping that NumMedia would be 1 and that I would be able to iterate through a collection of images to extract.

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?

[Update] I have no experience as an Android developer so I am preferring a no-code solution.

There is a Twilio support link that mention a Twilio URL, however I am receiving a Telstra URL

The phone is a Samsung Galaxy J1 mini


回答1:


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.

How to check if a Twilio number can send MMS messages

Trial account restrictions

Guidelines for Australia



来源:https://stackoverflow.com/questions/47973978/how-do-i-configure-my-android-phone-to-send-images-to-twilio-via-mms

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!