Facebook API帖子:如何获取更大的缩略图? [英] Facebook API post: How to get larger thumbnail?

查看:264
本文介绍了Facebook API帖子:如何获取更大的缩略图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Facebook上有这个新的缩略图视图(请参阅本文下面的图片)。但是我试过的每个命令或财产,我从来没有得到这个发布与api ...



这是我的帖子事件看起来像现在:

  $ status = $ facebook-> api('/ me / feed','POST',array('access_token'=> $ page_access_token,'fields'=>'picture.height(960).width(1833)','message'=> $ text,'icon'=>'http://www.renoi.de/images/ lg.jpg','link'=> $ link,'name'=> $ title,'user_generated'=>'true','images [0]'=> $ pic2,'source'=> ; $ pic2,'height'=>'960','width'=>'1833')); 

这是fb用于手动发布的og:image行:

 < meta property =og:imagecontent =<?php echo $ og_image;?& /> 

请相信我的$ og_image和$ pic2是完全相同的url,没有缩略图,全质量,远远超过720p。



我非常感谢任何关于此事的输入,不是使用?type = large或sth。像那样。



解决方案

这是固定在服务器上的设计更新(我正在使用beta服务器,所以我看到的事情更早)。 >

最后,谢谢Facebook!




There is this new thumbnail view on Facebook (see image beneath this text). But every command or property I tried, I never get this when posting with the api...

This is how my post event looks like right now:

 $status = $facebook->api('/me/feed', 'POST', array('access_token' =>     $page_access_token, 'fields' => 'picture.height(960).width(1833)', 'message' => $text, 'icon' => 'http://www.renoi.de/images/lg.jpg', 'link' => $link, 'name' => $title, 'user_generated' => 'true', 'images[0]' => $pic2, 'source' => $pic2, 'height' => '960', 'width' => '1833')); 

And this is the og:image line that fb takes for manual posting:

  <meta property="og:image" content="<?php echo $og_image; ?>" />

Please believe me that $og_image and $pic2 are exactly the same url, none thumbnail, full quality, far beyond 720p.

I would highly appreciate any input on this matter that is not "use ?type=large" or sth. like that.

解决方案

This is fixed with the design update immenent on the servers (I am using a beta server, so I am seeing things earlier).

Finally, thank you Facebook!

这篇关于Facebook API帖子:如何获取更大的缩略图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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