Getting "InvalidTokenFormat, Error 400" from Firebase Cloud Messaging
<p>I am using <code>Firebase Cloud Messaging</code> for my android development with <code>PHP</code> as server side language. Right now, i'm able to :</p>

<ol>
<li><p>Receive push notification sending using Firebase Console either both real apps and emulator.</p></li>
<li><p>Got it working when testing it out from terminal(curl)</p></li>
</ol>

<p>So then, i tried sending from <code>apps server</code>(using php curl) instead of <code>Firebase Console</code>. And right now, encountered this weird message <code>InvalidTokenFormat, Error 400</code> every time i'm request the POST request. Any thought?</p>

<p>Here is the link for Firebase Api were made : <a href="http://pastebin.com/sk72Czz8" rel="nofollow">FirebaseApi Class</a></p>

<p>Feel free to ask for any inputs from meif above use case didn't clear enough. Thanks.</p>