I've been trying to implement Facebook "Like" action in my app. Using the requestWithGraphPath:andParams:andHttpMethod:andDelegate: method I was able to like the posts, photos and almost everything but a Facebook Page. And the forums on the web say that this is due to some security reasons to prevent some spam apps from forcibly making the users "Like" their pages. It completely makes sense. So this raises a question that, making the users "Like" the posts or photos without the their knowledge is not an offense? And, yes, that is completely out of the scope of this question ;-)

Coming to the point, I've googled to see what's the most favorable solution and most of the forums/posts suggest that adding the "Like" button iFrame in a UIWebView is the better/only way as of now. So I just want to double check with you guys that is there a better way to Like a Facebook Page from an iOS app without having to use UIWebView lately, or I just have to go with that?

github.com/brow/FacebookLikeView - most of all can be done by this but if you want to make yourself like button then you need to make iframe for yr link from developer.facebook and later you need to detect Tap on webview using stackoverflow.com/questions/1049889/… and also need to check if user logged in or not.1 more thing to cancel loading on webview [webView stopLoading]; can be required later.
–
DH14-S LNov 29 '11 at 7:12

@Saranya, dh14-sl, Is there any way other than using the iFrame?
–
EmptyStackNov 30 '11 at 4:24

github.com/brow/FacebookLikeView download zip from this link. change appid with your created app's appid and change href put your like page link just all done. Even you can customize it.Read Getting started - it's easy to implement.
–
DH14-S LNov 30 '11 at 9:08