本文介绍了插件com.apple.share.Facebook.post无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我使用以下代码,允许与文本共享图像:

In my app I'm using the following code that allows to share an image with a text:

- (IBAction)sharePressed:(id)sender {
    UIImage *postingImage = [UIImage imageWithContentsOfFile:self.filepath];
    UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[@"Lorem ipsum", postingImage] applicationActivities:nil;
    [self presentViewController:activityViewController animated:YES completion:nil];
}

将图像发布到Facebook工作正常,它出现在我的FB墙上,但是在我的控制台中,我收到以下消息:

Posting the image to Facebook works fine and it appears on my FB wall, however in my console I get the following message:

插件com.apple.share.Facebook.post无效

我已经在几台设备上进行了测试,据我所知,它只发生在安装了iOS 8.1的iPhone 6上。

I've tested it on a couple of devices, as far as I could see it only happens on my iPhone 6 with iOS 8.1 installed.

任何人都知道该消息的含义以及如何阻止它显示?

Anyone knows what that message means and how to prevent it from showing?

推荐答案

这是正确的回答。这是一个无赖。

Here is the correct answer ios plugin com.apple.share.Facebook.post do not show provided text. It's a bummer.

有关详细信息,请参阅

For more info please refer to https://developers.facebook.com/docs/apps/review/prefill

这篇关于插件com.apple.share.Facebook.post无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-20 23:55