2011-02-23 98 views

回答

3

您需要发布流或您要发布,而无需用户交互的任何消息“publish_stream”。

NSString *message = @"test message here"; 
NSMutableDictionary *params = [NSMutableDictionary dictionary]; 
[params setObject:message forKey:@"message"]; 

[_facebook requestWithMethodName:@"facebook.Stream.publish" andParams:params 
        andHttpMethod:@"POST" andDelegate:self]; 

然后你就可以处理Facebook的即

- (void)request:(FBRequest *)request didLoad:(id)result 

希望帮助的“代表”的方法响应,请如果它标记为答案。

感谢

+0

http://stackoverflow.com/questions/4422306/post-link-using-facebook-sdk-on-iphone这个环节也有帮助 – xydev 2011-02-23 11:56:12

相关问题