如果提要类型是照片,使用 facebook graph api 如何获取大图片大小的新闻提要? [英] Using facebook graph api how to get news feed with large picture size if the feed type is photo?

查看:24
本文介绍了如果提要类型是照片,使用 facebook graph api 如何获取大图片大小的新闻提要?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 facebook graph api 获取新闻提要:https://graph.facebook.com/me/home?access_token=...

Using facebook graph api get News feed: https://graph.facebook.com/me/home?access_token=...

返回的图片字段都是最小尺寸的,比如图片": "https://fbcdn-photos-ba.akamaihd.net/hphotos-ak-ash3/xxxxxx4_s.jpg:

The picture field it returns is all in smallest size, like picture": "https://fbcdn-photos-b-a.akamaihd.net/hphotos-ak-ash3/xxxxxx4_s.jpg:

是否有任何参数可用于检索更大的缩略图?有什么办法吗?

Is there any parameter that I can use to retrieve larger thumbnails? Any way to do this?

推荐答案

您可以为返回对象添加自定义字段列表.

You can add custom field list for returning object.

?fields=full_picture

将返回全尺寸图像.

这篇关于如果提要类型是照片,使用 facebook graph api 如何获取大图片大小的新闻提要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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