Facebook分享窗口问题

时间:2012-06-07 06:24:06

标签: iphone ios facebook ios4 sharekit

我在我的iPhone应用程序上使用Sharekit进行Facebook共享。我曾经使用过以下代码在共享窗口中设置应用程序图标。它在第一次登录Facebook时工作正常。

NSURL *url = [NSURL URLWithString:@"http://google.com"];

shareScore_ = [SHKItem URL:url title:[NSString stringWithFormat:@"Share Message" contentType:SHKURLContentTypeUndefined];

shareScore_.facebookURLSharePictureURI = @"http://edibleapple.com/wp-content/uploads/2009/04/apple_rainbow_logo.jpeg";

[SHKFacebook shareItem:shareScore_];

在首次登录时,它会在http://google.com中显示图像,如果用户已登录,则会在icon_url中显示正确的图像。对此有什么解决方案吗?

首次登录屏幕截图: enter image description here

已登录屏幕截图:

enter image description here

1 个答案:

答案 0 :(得分:1)

这是ShareKit中的一个错误 - 它现在已修复。请更新。