发布到 Facebook Wall 你应该通过 JSON
看看这个代表
- (void)postToWall {
FBStreamDialog *dialog =[[[FBStreamDialog alloc]init ]autorelease];
dialog.userMessagePrompt = @"Whats on your Mind about this Articles...";
dialog.attachment = [NSString stringWithFormat:@"{\"name\":\"The Black Sheep: %@ Specials for %@, %@ \",\"href\":\"http://%@/\",\"caption\":\" %@ \",\"description\":\"\",\"media\":[{\"type\":\"image\",\"src\":\"%@\",\"href\":\"http://www.raywenderlich.com/\"}]}",
[[BarSplArr objectAtIndex:0]objectForKey:@"barname"],day,date,[[BarSplArr objectAtIndex:0]objectForKey:@"barwebsite"],[[BarSplArr objectAtIndex:0]objectForKey:@"drinkspecials"],[[BarSplArr objectAtIndex:0]objectForKey:@"barimage"]];
//dialog.actionLinks = @"[{\"text\":\"See My App here!\",\"href\":\"http://www.facebook.com/developers/apps.php?app_id=178257532217623&ret=2/\"}]";
[dialog show];
}
更好的是你可以通过这种方式跟进。 http://www.raywenderlich.com/77/how-to-post-on-facebook-with-your-iphone-app
极好的教程