title: Use koala to check if current user liked the page
body: <p>I have an app which I want to be working only for people who like my page.</p>
  
  <pre><code>@show = 0
  @graph = Koala::Facebook::API.new(access_token)
  
  page = @graph.get_object("MyPage")
  user_likes = @graph.get_connections("me", "likes")
  
  user_likes.each do |like|
    if like["id"] == page["id"]
      # user likes my page
      @show = 1
      break
    end
  end
  </code></pre>
  
  <p>This is my code, my problem is how do I get the current user of my app, "me" gives me the user whose access_token I provide, so how do I get access token of the current user?</p>