2011-08-19 77 views

回答

0

試試這個會發布圖片的描述,點擊後會重定向到您提供的鏈接。

 NSMutableDictionary *params = 
     [NSMutableDictionary dictionaryWithObjectsAndKeys: 
     @"Post Feed", @"name", 
     @"Feed is Awesome.", @"caption", 
     @"Check out how to use Facebook.", @"description", 
     @"http://www.kamleshwar.com/blog",@"link", 
     @"http://i3.ytimg.com/vi/zqUW68itCec/default.jpg", @"picture", 
     nil]; 

    [facebook requestWithGraphPath:@"feed" 
         andParams:params 
        andHttpMethod:@"POST" 
         andDelegate:self]; 
相關問題