从Facebook相册中的机器人抓取照片 [英] fetch photos from facebook album in android

查看:113
本文介绍了从Facebook相册中的机器人抓取照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

中号想,我使用Facebook的Andr​​oid SDK中做任务获取来自Facebook的Andr​​oid中perticular相册中的所有照片,但问题是,我不知道是什么URL请求才能访问里面的照片专辑?

m trying fetch all photos from perticular album from facebook in android , i am using facebook android sdk to do the task but the problem is , i don't know what url request is required to access the photos inside album ?

推荐答案

https://graph.facebook.com/ALBUM_ID/photos

如果它是一个特定的人,则:

If it's for a particular person then:

https://graph.facebook.com/me/albums/

,然后选择相册ID,然后用第一个电话

And then choose the album id and then use the first call

修改

您还需要赋予权限,而权限String数组创建Facebook的对象还需要添加 user_photos 来能够加载照片

You will also need to give permission while creating Facebook object in the Permission String array also need to add user_photos to be able to load photos

这篇关于从Facebook相册中的机器人抓取照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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