title: How to send facebook message from linux console (command-line)
body: <p>Old days many admins use sms-gates for sending important informations from their systems e.g. "Power down, UPS is working now!", "Power Up, UPS is off!" or "CPU Temp too high!". Today in Facebook era we use messenger instead of SMS, so I wonder if I could create a command-line bash or php script for such thing.</p>
  
  <p>The idea - cron checks every 10 minutes the condition and if it is true, sends message to my messenger.</p>
  
  <p>The issues:</p>
  
  <ol>
  <li>I don't want to use my fb  account for sending - I'd like to get message
  from "System 1", "System 2", because i have more than one system to
  admin.</li>
  <li>The bash part is easy for me, I need tips for Facebook solutions:
  <ul>
  <li>do I have to get FacebookAppId (and do I have to create AppId for
  each system or just one AppId)</li>
  <li>how to "join/confirm/accept" "System 1" account with my Facebook Account</li>
  <li>is it possible to send messages to more than one FBAccount</li>
  <li>any other hints what should i look for.</li>
  </ul></li>
  </ol>
  
  <p>I found Notification App, but i think that it doesn't send message to messenger, so it would be useless.</p>