如何从Facebook graph api iOS获取具有特定ID的图像? [英] how to get an image with specific id from Facebook graph api iOS?

查看:102
本文介绍了如何从Facebook graph api iOS获取具有特定ID的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用中,我试图从Facebook页面的照片/相册中获取特定图像.我可以在NSArray中获得所有图像,但是我应该如何查询所需的特定图像.

In my app i am trying to fetch an specific image from a Facebook page photos/albums. I can get all the images just fine in an NSArray but how should i query the specific images which i want.

这是我的网址:@" https://graph.facebook.com/v2 .0/albumid/photos ",这给了我一个带有源URL的图像数组,但它们不是我可以用来获取所需图像的图像ID.

This is my url:@"https://graph.facebook.com/v2.0/albumid/photos" and this gives me an Array of images with their source url but their is no image id that i can use to get the image i want.

任何帮助将不胜感激.

谢谢

推荐答案

我认为您需要这个,通过此链接,您可以获取id,单张照片的来源和图片.

From this link you can get id, source and picture of an individual photo.

这篇关于如何从Facebook graph api iOS获取具有特定ID的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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