I wanted to send MMS/SMS messages between phones and a central server. Initially, I thought of Twilio but it looks like they don't support MMS messages.

Is their an API that I can use that supports both MMS and SMS? Preferably in Python but Java or Ruby are fine too.

有帮助吗?

解决方案

If you're looking for a similar service to Twilio, there's Mogreet. I haven't used them personally, so I can't vouch for their reliability, but there seems to be a decent following.

其他提示

Ricky from Twilio here. I know your question is old but wanted to update for anyone that stumbles on this that we added support for MMS on long codes in the US and Canada last year.

If you want to send an MMS using our Python library you could use this code:

message = client.messages.create(to="+12316851234", from_="+15555555555",
                                     body="Hello there!",
                                     media_url=['https://demo.twilio.com/owl.png', 'https://demo.twilio.com/logo.png'])

Or if you're looking for something a little more complicated, I'd recommend this post on how my good friend Greg taught his dog to send him MMS selfies using Python and an Arduino Yun.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top