Tag: Facebookgraphics

共享应用程序时产生的“FBAppCall无效使用”错误 – Facebook应用程序ID未注册为URLscheme

我试图通过共享对话框通过Facebook分享我的应用程序,下面的代码: NSMutableDictionary<FBGraphObject> *object = [FBGraphObject openGraphObjectForPostWithType:@"whatsyourinneragefb:inner_age" title:@"What's Your Inner Age" image:@"https://fbstatic-a.akamaihd.net/images/devsite/attachment_blank.png" url:@"http://samples.ogp.me/578838518886846" description:@"Everyone's finding out their inner ages apart from you! Download now and discover yours!"];; NSLog(@"1"); // Create an action NSMutableDictionary<FBGraphObject> *action = [FBGraphObject graphObject]; action[@"inner_age"] = @"http://samples.ogp.me/578838518886846"; NSLog(@"2"); [FBRequestConnection startForPostWithGraphPath:@"fb578756542228377" graphObject:action completionHandler:^(FBRequestConnection *connection, id result, NSError *error) { // handle the result }]; […]