title: How to login in a website that uses facebook connect via PHP curl
body: <p>I need to login with my account with php curl in a website that uses facebook connect to login.</p>
  
  <p>I'll take as example site one of my favourite apps: <a href="http://www.mousehuntgame.com" rel="nofollow" title="Mousehunt">Mousehunt</a></p>
  
  <p>As you can see, it uses facebook (of course) to login: if you are already connected to facebook, it succeeds in automatic login, otherwise it popups facebook login.</p>
  
  <p>How i can login into it with php curl? I know some about curl &amp; cookie (cookiejar, cookiefile, post etc) but not too much.</p>
  
  <p>Which is the target url to post data? How can i return to that site as user logged in?</p>