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 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序