FBConnect iphone:我无法获取某个帐户的相册?
也许有人帮不了我。
我使用最后一个 FBConnect (http://github.com/facebook/facebook-ios-sdk /) 用于 Facebook 连接。 我为用户检索相册列表。
NSMutableDictionary* params = [NSMutableDictionary NictionaryWithObjectsAndKeys:_facebook.accessToken,@"access_token",nil];
[_facebook requestWithGraphPath:@"me/albums" andParams:params andDelegate:self];
我正在使用 4 个不同的帐户进行测试,这些帐户均具有相同的隐私规则(帐户/隐私设置)。对于其中一些人来说,专辑列表是空的?如果我通过台式计算机上的网络浏览器进行测试(https://graph.facebook.com/me/相册)对于不能在 iPhone 上使用的帐户,列表不为空?
在 iPhone 上,我使用图形 api 或 FQL 得到相同的结果(“从专辑中选择援助,其中所有者=我()”)
也许我错过了一些有关 facebook 应用程序配置的思考?
感谢您的回答。
Maybe someone can't help me.
I use the last FBConnect (http://github.com/facebook/facebook-ios-sdk/) for Facebook connexion.
And I retreive the list of photos albums for the user.
NSMutableDictionary* params = [NSMutableDictionary NictionaryWithObjectsAndKeys:_facebook.accessToken,@"access_token",nil];
[_facebook requestWithGraphPath:@"me/albums" andParams:params andDelegate:self];
I'm testing with 4 differents account with all the same rules for privacy (Account/Privacy settings). And for some of them the albums list is empty ? And if i test via a webbrowser on a desktop computer (https://graph.facebook.com/me/albums) for account who doesn't work on iphone, the list is not empty ?
On iphone, i use graph api or FQL with same results ("SELECT aid FROM album WHERE owner = me()")
Maybe i miss some think about configuration off the facebookapp ?
Thanks for answer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我通过 Facebook 身份验证的良好设置解决了该解决方案
http://developers.facebook.com/docs/authentication/permissions
I resolve the solution with good settings for facebook authentifications
http://developers.facebook.com/docs/authentication/permissions
这会将相册的所有图像放入源数组中!
THIS WILL PUT ALL THE IMAGES OF THE ALBUM IN SOURCE ARRAY!
需要publish_actions 和user_photos 权限。
然后请尝试以下代码:
publish_actions and user_photos permissions is required.
And then please try the following code :