I used PHP code to write the 3rd servers ,I can get the deviceRegistrationId and authToken, but now I receive “Unauthorized Error 401”,here is the PHP code which I used. C2DM implementation PHP code
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unauthorized Error 401 indicates that the ClientLogin AUTH_TOKEN used to validate the sender is invalid. Please make sure you are sending the correct ClientLogin to the google server.