Facebook连接

Facebook连接,facebook,ipad,Facebook,Ipad,在iPad或iPhone应用程序中是否存在使用facebook connect的可能性 我们的想法是登录到这个应用程序,然后能够看到我的facebook用户中有谁也使用这个应用程序及其功能。是的 新版本: 文件: 代码:无,您自己使用Graph API编写 旧版本: 文件: 代码: 请按照以下链接为您的应用程序提供的Facebook SDK集成教程进行操作: 然后测试应用程序。如果您还需要为iPad运行相同的代码,并且如果您想为iPad调整Facebook控件的大小,只需按照以下说明操作

在iPad或iPhone应用程序中是否存在使用facebook connect的可能性

我们的想法是登录到这个应用程序,然后能够看到我的facebook用户中有谁也使用这个应用程序及其功能。

是的

新版本:

  • 文件:
  • 代码:无,您自己使用Graph API编写
旧版本:

  • 文件:
  • 代码:

请按照以下链接为您的应用程序提供的Facebook SDK集成教程进行操作:

然后测试应用程序。如果您还需要为iPad运行相同的代码,并且如果您想为iPad调整Facebook控件的大小,只需按照以下说明操作:

但要注意的事情很少: 在FBDialog.m中 1) 对于“postDismissCleanup”函数,不要注释行, [自我反思的观察者]; 否则,您的应用程序将开始崩溃

2) 替换这两个功能

- (void)keyboardWillHide:(NSNotification*)notification {
  //UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
  /*if (UIInterfaceOrientationIsLandscape(orientation)) {
    _webView.frame = CGRectInset(_webView.frame,
      kPadding + kBorderWidth,
      kPadding + kBorderWidth + _titleLabel.frame.size.height);
  }*/

  _showingKeyboard = NO;
}

- (void)keyboardWillShow:(NSNotification*)notification {
  //UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
  /*if (UIInterfaceOrientationIsLandscape(orientation)) {
    _webView.frame = CGRectInset(_webView.frame,
      -(kPadding + kBorderWidth),
      -(kPadding + kBorderWidth) - _titleLabel.frame.size.height);
  }*/

  _showingKeyboard = YES;
}