I'm looking for a solution to send a Push Message from PHP in Intels App-Framework, but I can't find any good solution. I have found this: https://gist.github.com/prime31/5675017
But how can I get the DEVICE_REGISTRATION_ID? It's very difficult to find some code or solution.
Ive found the Solution. I have forgott to type the IP 0.0.0.0/0 into the Google API Console. And i added the Google API Key and Projectnumber by the Push Category on Build Window.
Then i copy paste the code from http://docs.appmobi.com/index.php/push-messages/ into index_user_scripts.js (only number 2 and 3). Number 1 goes to index.html on the header section. Now it works fine, i can send messages from the Services Tab.