Tuesday, 27 January 2015

app notification 1

https://www.parse.com/   provides app notification functionality.

To push a message, or you can call it broadcasting a message. you can do it by a IOS code or android code or javascript code, but most kindly you can use a RESTful api. Or you can send message from :


To broadcast to all your customers:

curl -X POST \
-H "X-Parse-Application-Id: application_id" \
-H "X-Parse-REST-API-Key: rest_api_key" \
-H "Content-Type: application/json" \
-d '{ "channel": "",
"data": { "alert": "Txxxxxxxx!" } }' \

To broadcast to a particular group of customers: 

curl -X POST \
-H "X-Parse-Application-Id: application_id" \
-H "X-Parse-REST-API-Key: rest_api_key" \
-H "Content-Type: application/json" \
-d '{ "channel": "peter",
"data": { "alert": "Txxxxxxxxfff!" } }' \

To receive your message, your customer must have an app in there phone, could be IOS or android or windows phone.

https://www.parse.com/ can help you to create the app,

for channel, you can change it by two ways:

1,  change it on the website:

2. change it by the app:

No comments:

Post a comment