Possible Duplicate:
Like button in iOS application
I want to create a Facebook like button ,on clicking that button i want to implement 'like' Facebook page feature in my app in iPhone.
Possible Duplicate:
Like button in iOS application
I want to create a Facebook like button ,on clicking that button i want to implement 'like' Facebook page feature in my app in iPhone.
the latest method to get facebook like button is given below,
NSString *urlString=[NSString stringWithFormat:@"http://www.facebook.com/plugins/like.php?href=%@&send=false&layout=button_count&width=90&show_faces=false&action=like&colorscheme=light&font=arial&height=21",self.href];
//store the page link that you need to like in href
NSURLRequest *fbLikeURLRequest=[NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];
[_webView loadRequest:fbLikeURLRequest];
Use this web view where you need to get like button !
reger developers.facebook.com if you need to know more
Regards
Deepak