从 facebook 解析大图像

Parsing large images from facebook

我正在尝试从 facebook 图表中获取图像 api。为 JSON 文件中的图像提供的 link 给出大小为 130x130.e.g 的图像。 here 我想提取更大的尺寸,例如 600x600。我怎么做? 目前,我得到这样的图像 imgUrl[i] = c.getString("picture");myBitmap[i] = getBitmapFromUrl(imgUrl[i]);

尝试从图表 Api 请求 me/picture?redirect=false&height=600&width=600 您将收到图片 url 大小 600*600

的响应

您也可以访问 this 以获得更深入的了解

编辑 如果你想要页面中的图片,试试这个方法

https://graph.facebook.com/v2.2/pagename/picture?redirect=false&height=200&width=200&access_token=