How do I \"like\" a page using the new Facebook iOS SDK? (http://github.com/facebook/facebook-ios-sdk)
I\'m currently attempting to do it with:
NSMut
1)Use the facebook iOS SDk to check if the user is logged in.
2)Once the user is logged in, load the facebook Like API into a webview.
See http://developers.facebook.com/docs/reference/plugins/like/#
You should load something like this (format with appropiate params where you see %@, %i):
http://www.facebook.com/plugins/like.php?href=%@&layout=%@&show_faces=%@&width=%i&action=%@&colorscheme=%@&font=%@"
3)Profit.
Also, the reason the user won't have to login is because a cookie will be saved once they log in using the Facebook iOS SDK login screen (If you are doing it in your app and not Safari/FB app).