Facebook喜欢按钮不工作ios

时间:2017-03-13 12:31:30

标签: ios objective-c facebook

 FBSDKLikeControl * likeButton = [[FBSDKLikeControl alloc] init];
likeButton.objectID = @"https://www.facebook.com/FacebookDevelopers";//self.shareDic[@"shareLink"];
likeButton.likeControlStyle = FBSDKLikeControlStyleBoxCount;
// Change the style to box count
likeButton.likeControlHorizontalAlignment = FBSDKLikeControlHorizontalAlignmentLeft;
[likeButton isTouchInside];
[shareBackView addSubview:likeButton];
[likeButton mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(shareBackView).offset(10);
            make.centerY.equalTo(shareBackView.mas_centerY);

        }];

四个月前它有效,但现在它只是一个空白页面。

enter image description here

0 个答案:

没有答案