我在我的iphone应用程序中使用facebook-ios-sdk
我想从我的iphone应用程序在facebook上发布一个链接
NSLog(@"link..%@",[shareDict objectForKey:@"url"]);
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
[shareDict objectForKey:@"url"], @"link",nil];
[facebookObj requestWithMethodName:@"facebook.Stream.publish" andParams:params
andHttpMethod:@"POST" andDelegate:self];
它已成功发布为我的应用程序日志
2011-03-30 13:10:02.128 myApp[1804:207] link..http://khabar.ndtv.com/Home.aspx
2011-03-30 13:10:04.064 myApp[1804:207] received response..https://api.facebook.com/method/facebook.Stream.publish
2011-03-30 13:10:04.066 myApp[1804:207] request didLoad.. . . API..thod/facebook.stream.publish
但是在Facebook墙上没有显示链接......它显示为..
现在
答案 0 :(得分:0)
这是我的FB参数片段:
[fbArguments setObject:theName forKey:@"name"];
[fbArguments setObject:theCpation forKey:@"caption"];
[fbArguments setObject:theDescription forKey:@"description"];
[fbArguments setObject:theLink forKey:@"link"];
[fbArguments setObject:theHREF forKey:@"href"];
[fbArguments setObject:thePictureURL forKey:@"picture"];