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 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示