title: Running Facebook application on localhost
body: <p>I am planning to connect to Facebook chat from my localhost. I will need to get the session key from Facebook. When I give the site URL as <code>localhost:8080</code> or <code>ip-address:8080</code> it does not work. </p>
  
  <p>I read about setting up two apps with 2 different API keys one runs on dev m/c and other on localhost but I did not quite get it.</p>
  
  <p>Can anyone explain how to run a Facebook app on localhost?</p>