如何发布2张照片的墙贴 [英] How to publish a wall post with 2 pictures
问题描述
我正在创建一个小型应用程序,让人们比较他和他的朋友的不同图片。
I'm creating a small app in which people compare diferent pictures of him and his friends.
该应用程序是简单的,我没有问题。当用户尝试在其墙壁上发布时,问题出现。我想要的帖子是这样的:
The app is verry simple and I have no problem with it. The problem comes when users try to publish in their walls. I want the posts to be something like:
我知道这样做:
$parameters = array('message' => 'this is my message',
'name' => 'Name of the app',
'caption' => "Caption of the Post",
'link' => 'http://www.link.com',
'description' => 'description',
'picture' => 'http://mysite.com/pic.gif');
$result = $facebook->api('/user_id/feed/', 'post', $parameters );
您可以在墙上发布,但将应用限制为一张照片,我想要用户可以发布两个不同的照片。
You can post on a wall, but that limits the app to one picture only and I want the users to be able to post two diferent picures.
有没有办法发布像图像中的帖子?
Is there a way to publish a post like the one in the image?
编辑:
添加了一个可能以更好的方式解释我想要的照片。
Added a picture that might explain what I want in a better way.
推荐答案
Facebook在一个帖子中删除了多张照片。当你能够做到这一点时,人们正在创建由多张图片并排组成的横幅。现在只有1张照片显示任何墙上的帖子。您可以发布更多图片,但默认情况下不会确定。 Facebook会添加一个更多链接,尽管他们也可能已经取消了这一点。
Facebook did away with multiple pictures in a post a while ago. When you were able to do it, people were creating "banners" that consisted of multiple pictures side by side. Now only 1 pictured is displayed for any wall post. You can post more pictures, but they won't be sure by default. Facebook will add a "more" link, although they may have done away with that also.
这篇关于如何发布2张照片的墙贴的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!