title: implementation of firebase in php: finding token in firebase
body: <p>i am trying to implement firebase with php, here is a link that I found:</p>
  
  <p><a href="https://github.com/ktamas77/firebase-php" rel="nofollow noreferrer">https://github.com/ktamas77/firebase-php</a></p>
  
  <p>and this is an example.</p>
  
  <pre><code>const DEFAULT_URL = 'https://kidsplace.firebaseio.com/';
  const DEFAULT_TOKEN = 'MqL0c8tKCtheLSYcygYNtGhU8Z2hULOFs9OKPdEp';
  const DEFAULT_PATH = '/firebase/example';
  
  $firebase = new \Firebase\FirebaseLib(DEFAULT_URL, DEFAULT_TOKEN);
  
  // --- storing an array ---
  $test = array(
      "foo" =&gt; "bar",
      "i_love" =&gt; "lamp",
      "id" =&gt; 42
  );
  $dateTime = new DateTime();
  $firebase-&gt;set(DEFAULT_PATH . '/' . $dateTime-&gt;format('c'), $test);
  
  // --- storing a string ---
  $firebase-&gt;set(DEFAULT_PATH . '/name/contact001', "John Doe");
  
  // --- reading the stored string ---
  $name = $firebase-&gt;get(DEFAULT_PATH . '/name/contact001');
  </code></pre>
  
  <p>And here is my version of the same code:</p>
  
  <pre><code>&lt;?php
  
  include 'firebaseLib.php';
  
  const DEFAULT_URL = "https://third-try-dae0a.firebaseio.com";
  const DEFAULT_TOKEN = 'AIzaSyDeGfW4hnT3a6AXDevJMhb4Pi1eMWQ7yvc';
  const DEFAULT_PATH = '/third-try-dae0a';
  
  
  $firebase = new \Firebase\FirebaseLib(DEFAULT_URL, DEFAULT_TOKEN);
  
  // --- storing an array ---
  $test = array(
      "foo" =&gt; "bar",
      "i_love" =&gt; "lamp",
      "id" =&gt; 42
  );
  $dateTime = new DateTime();
  $firebase-&gt;set(DEFAULT_PATH . '/' . $dateTime-&gt;format('c'), $test);
  
  // --- storing a string ---
  $firebase-&gt;set(DEFAULT_PATH . '/name/contact001', "John Doe");
  
  // --- reading the stored string ---
  $name = $firebase-&gt;get(DEFAULT_PATH . '/name/contact001');
  
  echo "done";
  
  
  
   ?&gt;
  </code></pre>
  
  <p>my code doesn't work... </p>
  
  <p><a href="https://i.stack.imgur.com/gUS0l.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gUS0l.png" alt="this is where i found my DEFAULT_TOKEN"></a></p>
  
  <p>I just want a quick explanation of where I find the DEFAULT_TOKEN</p>
  
  <p>and what about the DEFAULT_PATH ??</p>