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