Also please let me know if im wrong, ie, if it does actually work, and it can like a page. On android its spinning out on iOS it says "the redirect_url must be absolute" this is a fb error but i cannot get rid of it. None of that matters anyway if you can only like posts.
Native question : if I do this natively will it work? it looks like the iOS code has to actually add the fb like "view" itself to another view, see here:- will this code actually add the button to my view? and if so where? and how do I change where it goes?
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
FBSDKLikeControl *likeButton = [[FBSDKLikeControl alloc] init];
likeButton.objectID = @"https://www.facebook.com/FacebookDevelopers";
likeButton.center = self.view.center;
[self.view addSubview:likeButton];
}
@end