Created
September 23, 2011 16:47
-
-
Save wei-lee/1237843 to your computer and use it in GitHub Desktop.
$fh.push: push a message
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var message = "hello from FH"; | |
| var deviceToken = "xxxxxxxxxxxxxxxxxxxxxx"; | |
| var ios_message = {'device_tokens': [deviceToken],'aps':{'alert':message}}; | |
| $fh.push({'act':'push', 'type':'dev', 'params':ios_message}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment