English 中文(简体)
《Facebook 授权书》第4.01条下的工作
原标题:Facebook Authorize doesn t work under IOS 4.01

使用<代码>的Im,[原文授权:接收],从官方Facebook IOS API到使用单一签名连接Facebook。

如果Facebook App没有在装置上安装(Safari许可),我的代码将予以罚款。 在Facebook App(Facebook App 批准)安装的IOS5装置上,该仪器也做了罚款。

然而,如果安装了“Facebook Apps”,在运行IOS 4.01(我一直在测试我的申请)的装置上,authorize请求在“Facebook App”上发射,但在返回时,我在application: HandleOpenURL:上收到以下答复。

fb[MY_APP_ID]://authorize#error=unknown%5Ferror

Which causes fbDidNotLogin: to be called and my App to fail.

取消和重排Face App和(或)我自己的应用,确实有帮助。 我的“Facebook App”在“Facebook App”之外也没有放出Face, 这里的“Login”屏幕,但后来又回去了同样的错误。

如果“Facebook App”没有安装在该装置上,Safari用于批准,那么所有东西都会做罚款。

我在其他地方读过,这一错误可能是由于我的联邦身份证定义不正确所致,但(1) 各个地点(Minfo.plist、Facebook和StorLink)对一切都作了正确界定,(2) 在其他组合中工作。

难道在《国际法学会》第4.01号项下没有支持什么导致这种行为,或者我是否做过错? (此时此刻,我实际上没有做很多事,我只是提出授权请求和执行代表办法。)

问题回答

为了纠正这种行为,你应当明确取消对面纱的许可。 缺省法遵循法典的行文——

[self authorizeWithFBAppAuth:YES safariAuth:YES];

取消对面具的许可,只用耳机强行批准,改为:

[self authorizeWithFBAppAuth:NO safariAuth:YES].





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签