title: Facebook Messenger API "request body undefined"
body: <p>After following all the steps as per the standard documentation, I am getting <code>req.body</code> undefined in my webhook:</p>
  
  <pre><code>app.post('/webhook/', function(req, res) {  
      console.log("message received " + req.body);
      if(!req.body){
          console.log("no request body found");
          res.sendStatus(200);
          return;
      }
  
      messaging_events = req.body.entry[0].messaging;
      for (i = 0; i &lt; messaging_events.length; i++) {
          event = req.body.entry[0].messaging[i];
          sender = event.sender.id;
          console.log("sender " + event.sender + ", message " + event.message.text);
          if (event.message &amp;&amp; event.message.text) {
              text = event.message.text;
              // Handle a text message from this sender
              sendTextMessage(sender, "Text received, echo: "+ text.substring(0, 200));
          }
      }
  
      res.sendStatus(200);
  });
  </code></pre>
  
  <p><strong>Edit</strong></p>
  
  <p>Do I need to Approve the Bot before I can test? also my Facebook Page is Live</p>