Search code examples
iosfacebookfacebook-like

iOS, How to check whether the user likes a facebook page or not?


How to check whether the user likes a facebook page or not in an iPhone app?

I know that I need "user_likes" permission. what else should be done?


Solution

  • Actually you can't like a page on Facebook. The best way to achieve that is to load the page inside a uiwebview and later you can check whether the user liked the page or not.