2012-03-27 6 views
0

私は私のアプリのコードにFacebookのAPIを統合しているが、フィードダイアログのパラメータを持つ奇妙な問題があります使用フィードダイアログのIphone

私は@caption、@link、および@ pictureの必要はありません。私は壁に簡単な説明を投稿します。このコードのよう

+0

あなたのparamsにkAppIdを削除し、一度試してみてください。 –

+0

返信用のThk。私はkAppIdを削除しようとしましたが、同じ結果でした。残念ながら、動作しません。 –

答えて

0

使用、

NSArray* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys: 
                @"Glueper App",@"name",@"http://m.facebook.com/apps/hackbookios/",@"link", nil], nil]; 
NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks]; 
// Dialog parameters 
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: 
           @"I'm using the Glueper App", @"name", 
           @"Glueper App", @"caption", 
           objSelGameStep.smsg, @"description", 
           @"http://m.facebook.com/apps/hackbookios/", @"link", 
           actionLinksStr, @"actions", 
           nil]; 

[facebook dialog:@"feed" 
     andParams:params 
    andDelegate:self]; 

これはあなたがFBの壁に投稿することができます....

関連する問題