title: Using FB PHP API to post status update to news feed
body: <p>I run a music search engine, I already use basic Facebook intergration, like the like button, but my next aim is to create deeper intergration,</p>
  
  <p>I'm aiming that when a user searches for something($q which I set as a cookie $_COOKIE['q'] ), a status update will appear, saying what they searched for and a link to my site.</p>
  
  <p>I can allow a user login to facebook through JavaScript but I presume I would need to do it the PHP way. </p>
  
  <p>I need to use PHP, as, after the user gives permission, I would like it that the user isn't pestered again. I have the Facebook PHP SDK and have created an app on Facebook. Online tutorials haven't really helped and i'm still on square 1, even though my PHP is okayish. </p>
  
  <p>I would really appreciate if anyone gave me some guidelines/ ideas or helped code it. </p>
  
  <p>Thanks in advance!
  Niall</p>