Before coding, you need first upload your Push Certificate to Fantastic system. (refer to Upload Push Certificates for Fantastic Push Service).
However, the "Upload Push Certificates for Fantastic Push Service" is dead link.
I have uploaded the cer, the push test system shown "message is sent", but client side didn't receive anything. Do you need *.cer or *.p12? *.cer doesn't come with password.