Facebook iOS6集成将图像添加到相册而不是单独的帖子 [英] Facebook iOS6 integration adds image to album and not separate posts

查看:168
本文介绍了Facebook iOS6集成将图像添加到相册而不是单独的帖子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用社交框架从我的iOS应用程序发布到Facebook。
使用SLComposeViewController,我已成功将文本和图像添加到Facebook帖子

  SLComposeViewController * postVC = [SLComposeViewController composeViewControllerForServiceType :SLServiceTypeFacebook]; 
[postVC setInitialText:messageText];
[postVC addImage:[UIImage imageNamed:@share-this.png]];
[self presentViewController:composeVC animated:YES completion:nil];

现在,我的应用用户可以在几分钟内多次发布到他们的时间线。当我尝试这个时,Facebook会将所有帖子整理到专辑iOS Photos中,而不会将其显示为单独的帖子。这就是它显示的内容 -
John Doe在专辑iOS Photos中添加了3张照片。



我想知道是否有照片我可以将它们发布为单独的帖子,而不是将它们整理到相册中。
我可以使用SLComposeViewController的方法本身做到这一点,还是我必须使用社交框架中的各种帐户管理API自行管理发布到Facebook?

解决方案

你可以做的事情真的很少。您目击的是Facebook为组织目的开发的新闻提要功能。我的意思是,即使您创建了几个不同的帖子,当需要将它们显示给用户时,Facebook会在短时间内检测到您在同一个相册中有多个图像帖子并将它们组合在一起。 / p>

唯一可能的解决方法是向用户建议他们每次出现作曲家时都选择不同的专辑。但是,即便如此,我也不确定这会产生多大的差别。 Facebook可能会注意到在短时间内发布的帖子,以及所有包含的图片,并且可能将它们分组为:


John Doe上传了x照片


没有指定上传的专辑。


I am trying to post to Facebook from my iOS app using the Social Framework. Using the SLComposeViewController, I have successfully added text and image to a Facebook post

SLComposeViewController *postVC = [SLComposeViewController composeViewControllerForServiceType:SLServiceTypeFacebook];
[postVC setInitialText:messageText];
[postVC addImage:[UIImage imageNamed:@"share-this.png"]];
[self presentViewController:composeVC animated:YES completion:nil];

Now, the user of my app can post multiple times to their timeline within minutes. When I try this, Facebook collates all the posts into the album "iOS Photos" and does not show it as a separate post. This is what it shows - John Doe added 3 photos to the album iOS Photos.

I want to know if there is a way that I can post them as separate posts and not having them collated into an album. Can I do this using the SLComposeViewController's methods itself or do I have to manage posting to Facebook myself using the various Account management APIs in Social Framework?

解决方案

There isn't really much that you can do about this. What you're witnessing is a news feed function that Facebook has developed for organization purposes. What I mean by that is that even though you created several different posts, when it comes time to display them to a user, Facebook detects that in a short period of time you have several image posts to the same album and groups them together.

The only possible workaround would be to suggest to your user that they select different albums every time the composer is presented. But, even then I'm not sure how much of a difference this would make. Facebook may notice the post occurred in a short time frame, and all included images, and may group them anyway as:

John Doe uploaded x photos

Without specifying which albums they were uploaded to.

这篇关于Facebook iOS6集成将图像添加到相册而不是单独的帖子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆