title: Facebook application to like a page
body: <p>I am trying to build an application, which uses an <a href="http://en.wikipedia.org/wiki/Radio-frequency_identification" rel="nofollow">RFID</a> reader and connects with Facebook. But when I try to like a page, I send a <a href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator" rel="nofollow">URL</a> when the <em>like</em> box is tapped by the RFID reader. I want the user to <a href="http://en.wikipedia.org/wiki/Like_button" rel="nofollow">like</a> my page as soon as he taps on the <em>like</em> box. So now I want to built an application, which accesses the user id and asks the permission to <em>like</em> pages on his/her behalf whenever he/she taps on the like box. The action will be performed as follows:- </p>
  
  <ol>
  <li>The user taps on a like box.</li>
  <li>The like box sends an URL (Facebook application URL) with the users id. </li>
  <li>I receive the action as to <em>like</em> the subsequent page.</li>
  <li>The user now <em>likes</em> the page.</li>
  </ol>
  
  <p>I am stuck on the fourth point. How do I make the user like my page?</p>
  
  <p>I am using PHP.</p>