Hacker News new | ask | show | jobs
by newman314 3821 days ago
I just noticed something strange in the screenshot. It seems to imply that Magic will work over iMessage. As far as I know, there is no publicly available API for iMessage so I'd be curious to know how this works.
3 comments

Setting up a Mac to programmatically send iMessages is trivial. I have a custom solution running that receives data over HTTPS and runs an AppleScript to send the specified text to the desired number or address via the Messages app using an iCloud account not tied to any mobile phone number.
It's an SMS, not specific to iMessage.
Then the messages would be green. I'm curious about this as well (unless they're just photoshopped).

When I was experimenting with Twilio that was the only aspect that was a little disappointing. I wanted blue messages. :)

Pretty sure they're just photoshopped and they don't use iMessage in reality. The font/kerning/size/alignment looks off from here.
the blue message bubble is iMessage specific.
It's evidently photoshopped, based on the message bubble padding. Definitely just an error.
Or on purpose since since the blue messages are meant to look better with the UI so that you prefer using iMessage when possible.
If they were using a regular phone number, they could achieve this by using the Messages app on iOS, and controlling it with AppleScript.