用于向 iPhone 发送通知的 API 和应用程序?
在我正在进行的一个项目中,我想从 Chrome 扩展程序向用户的 iPhone 发送通知。通知主要是关于他们在我网站上的帐户,我希望他们能够回复他们想要针对警报采取的操作类型。
为了帮助我做到这一点,我找到了 http://pushme.to/1 其工作原理是允许 iPhone 所有者下载他们的应用程序,通过该应用程序创建一个帐户,然后从那时起就能够接收 类似“IM”的消息和推送通知。我可以使用 JavaScript 自动化该页面,通过 http://pushme.to/iphone_users_username 向我的 iPhone 用户发送消息。然而,我还必须随警报一起发送图像,但由于该网站使用 Flash 上传器,因此无法做到这一点。
[编辑:澄清一下 - Pushme.to 有一个功能,允许您发送带有消息的图像,这就是我所指的]
所以,切入正题并达到底线:有谁知道有一个应用程序可以提供配套应用程序和应用程序吗?用于发送用户可以回复的消息的 API?这意味着用户收到我的消息,可以回复它们 - 并且我的 Chrome 扩展程序收到他们的回复?
1 服务不再有效
In a project I'm working on, I want to send notifications to my user's iPhone from my Chrome extension. The notifications will mostly be about their accounts on my site, and I would like them to be able to reply with the type of action they want taken concerning the alerts.
To help me do this, I found http://pushme.to/1 which works by allowing the iPhone owner to download their app, create an account via that app, and from then on be able to receive
"IM"-like messages and push notifications. I can send my iPhone users messages via http://pushme.to/iphone_users_username by automating that page with JavaScript. However, it will be imperative that I also send images along with the alerts, and am unable to do that as the site uses a flash uploader.
[EDIT: To clarify - pushme.to has a feature that allows you to send along images with a message, this is what I was referring to]
So, to cut to the chase and hit the bottom line: does anyone know of an app the provides a companion app & API for sending messages that the user can reply to? Meaning that the user receives my messages, can reply to them - and my Chrome Extension receive their replies?
1 Service no longer active
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我可能会误解您的问题,但推送通知框架不支持图像。您只能发送文本、徽章(应用程序图标旁边的红色数字)或声音(必须已安装在应用程序包中)。
也许您可以使用第三方选项来做到这一点,但 Push.me 并不是真正为自动通信而设计的,而是为朋友间的即时消息而设计的。您可能必须创建自己的应用程序才能实现此目的...我不确定您可以使用任何第三方应用程序。
I might be misunderstanding your question, but the push notification framework doesn't support images. You can only send text, badges (the red numbers next to an app icon), or sounds (which must already be installed in the app bundle).
Perhaps you can use a third-party option to do it, but push.me wasn't really designed for automated comms, but for friend to friend IMs. You may have to create your own app to achieve this...I'm not sure of any third party app you could use.