Here is the example:
These guys get people to click on Like button (in Step 1) first bef
One can detect when a user clicks on like button using edge.create. Also if the user has already liked the page, it can detected using FQL Like Table.