通过API发布时打开的图形图像大小与在同一URL中手动粘贴时不同

时间:2013-12-19 01:48:16

标签: facebook facebook-graph-api

当我手动为我们的网站发布Facebook帖子中的开放图形URL时,我会看到更大的图像大小(大图像位于顶部的布局以及其他OG元数据位于图像下方)。

when posting manually http://item-photos.s3.amazonaws.com/OG-LargerPhoto.png

当我通过FB的API将相同的开放图形URL作为帖子发布到组时,我得到的布局是左边较小的图像,右边的其他元数据。

when posting via API http://item-photos.s3.amazonaws.com/OG-SmallerPhoto.png 我使用以下restfb代码发布较小的照片:

def response = fbClient.publish("${groupId}/feed", 
            FacebookType,
            Parameter.with('message', "Some message to put in the message part of this post so it fills up the space a little bit...."),
            Parameter.with('link', 'https://dev.qpquo.com/apps/market/FB/de9b6e4b-ed4d-433f-bb4c-ef3afae2ef45/bid/50b29f03-2bec-4ab7-ac2d-fd1e385383e8'))

我已尝试在代码中使用和不使用消息,甚至只是一张照片而不管我的图像布局是否更小。当我通过FB Rest API发布时,我需要做些什么才能获得更大的图像布局?

0 个答案:

没有答案