facebook不能在sharekit api上工作..登录后访问权限是可以的,但之后它不会显示任何东西刚才..我检查在iPhone模拟器。sharekit不能在facebook上工作
请帮我解决..谢谢。
facebook不能在sharekit api上工作..登录后访问权限是可以的,但之后它不会显示任何东西刚才..我检查在iPhone模拟器。sharekit不能在facebook上工作
请帮我解决..谢谢。
我don'y完全地理解你问或者你有麻烦,但是这是我要做的事:
-(IBAction)connectButton {
SHKItem *item;
NSURL *url = [NSURL URLWithString:@"put the link to the itunes store for your app here"];
//this link is so if a person clicks the Facebook post, they will be directed to your app in the store
NSString *postString = @"I just played a game of some game!;
item = [SHKItem URL:url title:[NSString stringWithFormat:@"I'm playing some game! Want to play too?"];
item = [SHKItem URL:url title:@"Share Me!"];
// Share the item
[SHKFacebook shareItem:item];
}
对不起,我有麻烦的格式这一点。 另外,请确保您在班级文件中输入SHKFacebook.h
。
这将您的应用程序
嘿,我,M还面临这样的问题中打开从一个按钮,Facebook的对话框。当我登录自动应用程序后,只得到白色屏幕。 所以我在他们使用的这个sharekit +图表api中找到了一个代码。和itzz工作很好,但大问题是,登录fb itz走出应用程序。并开放Safari。所以任何人都可以通过解决方案来获得Facebook的工作。
我共享该代码的链接。 plist文件添加你的fb appID然后检查它。
去改变的授权NO如下提到:
(void)authorize:(NSArray *)permissions
{
self.permissions = permissions;
[self authorizeWithFBAppAuth:NO safariAuth:NO];
}
请一些好友的回答我非常感谢... – 2011-03-31 21:55:31