2012-12-11 114 views

回答

3

使用GraphAPI 從http://developers.facebook.com/docs/reference/dialogs/feed/

NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: 
           kAppId, @"app_id", 
           @"http://developers.facebook.com/docs/reference/dialogs/", @"link", 
           @"http://fbrell.com/f8.jpg", @"picture", 
           @"Facebook Dialogs", @"name", 
           @"Reference Documentation", @"caption", 
           @"Dialogs provide a simple, consistent interface for apps to interact with users.", @"description", 
           @"Facebook Dialogs are so easy!", @"message", 
           nil]; 

[_facebook dialog:@"feed" andParams:params andDelegate:self]; 
+0

_facebook的類型是什麼? – user1746700

+0

@ user1746700其圖形api –

+0

我該如何聲明_facebook varialbe? – user1746700

相關問題