dongming4994 2014-08-21 17:22
浏览 32
已采纳

在没有应用的情况下发送推送消息[关闭]

I am a PHP developer and work with a small team of ~20 real estate agents. Lately there's a need for some server-to-person notifications (real time notifications, otherwise I could have used email for this).

There could be around 20-30 messages/day/person, mostly on iOS, but also a few androids.

So I've been looking at push notifications, which seem to do the trick, but all services I found (parse.com, for instance) seems to be for android developers (they need an app). I'm not an Android developer, and creating an app for this would probably take me too much time.

Does anyone have an idea on how to achieve this with a simple API?

I considered SMS at first (clickatell api), but the boss wants a free service (or a flat charge). Thank you for your advice!

[Update] - seems that I did not explain the situation correctly, I apologize for that I'm looking for a (maybe free) service that has it's own app in Google Play and Apple Appstore and will allow me, as a PHP programmer, to send push notifications in near realtime to any of the ~20 devices in my organization.

  • 写回答

1条回答 默认 最新

  • dongliu0823 2014-08-21 17:43
    关注

    you probably looking for http://app.net/

    you can download apps for iOS and Android from here: https://app.net/mobile/

    ask every user's to install this on phone.(so that you can send push notifications to them)

    The easiest way to send a broadcast with the API is via the ADNPy Python module, the adn Ruby gem, the appnet.js library for Node.js, or the AppDotNetPHP library. You can also use the HTTP API with your own client, if you’d like.

    please find PHP library for the App.net Stream API here: https://github.com/jdolitsky/AppDotNetPHP

    for broadcast see this code from same github: https://github.com/jdolitsky/AppDotNetPHP/blob/master/recipe-example/send-broadcast.php

    from their help topics:

    Broadcast Channels are designed to carry low-volume, high-value updates of interest to users. We call the actual updates themselves Broadcast Messages (or sometimes just “broadcasts”). Because broadcasts are built on top of the existing App.net Channel and Message APIs, it’s helpful to be familiar with them, but for simple tasks, there’s not much you need to know.

    Just a reminder: while you can do all of this using our API, you don’t have to. We have tools for publishers to help you quickly get started pulling content in from elsewhere on the web, and you can send them manually via the web or the App.net iOS and Android apps. To get started, we recommend that you create and set up your broadcast channel with our web publisher tools and only use the API to send broadcasts via the channel you created.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 滑块验证码移动速度不一致问题
  • ¥15 定制ai直播实时换脸软件
  • ¥100 栈回溯相关,模块加载后KiExceptionDispatch无法正常回溯了
  • ¥15 Utunbu中vscode下cern root工作台中写的程序root的头文件无法包含
  • ¥15 麒麟V10桌面版SP1如何配置bonding
  • ¥15 Marscode IDE 如何预览新建的 HTML 文件
  • ¥15 K8S部署二进制集群过程中calico一直报错
  • ¥15 java python或者任何一种编程语言复刻一个网页
  • ¥20 如何通过代码传输视频到亚马逊平台
  • ¥15 php查询mysql数据库并显示至下拉列表中