0

Placed the Facebook like button in native app with following:

FBSDKLikeControl *button = [[FBSDKLikeControl alloc] init];
button.objectID = @"https://www.facebook.com/FacebookDevelopers";
[self.view addSubview:button];

How can we retrieve like count or is already liked status of button?

MobileGeek
  • 2,462
  • 1
  • 26
  • 46
  • try this link http://stackoverflow.com/questions/17755753/how-to-get-likes-count-when-searching-facebook-graph-api-with-search-xxx – Anbu.Karthik Aug 11 '15 at 12:23
  • This is using graph api. The button is already showing count with status, already liked or not. I just need to look for the way to retrieve from this button object. What is the possiblity? – MobileGeek Aug 11 '15 at 12:29
  • check this link http://stackoverflow.com/questions/26421303/facebook-like-button-in-ios-app-using-facebook-sdk – Anbu.Karthik Aug 11 '15 at 12:35
  • under the second link page one sample project also available , please check , in before I m not work in like button , so try second link it will be helpful for you – Anbu.Karthik Aug 11 '15 at 12:38
  • 1
    FYI: Facebook does not allow like gating any more. – CBroe Aug 11 '15 at 12:44

0 Answers0