从Facebook相册中的机器人抓取照片机器人、照片、相册、Facebook

由网友(关系淡了,加点盐)分享简介:中号想,我使用Facebook的Andr​​oid SDK中做任务获取来自Facebook的Andr​​oid中perticular相册中的所有照片,但问题是,我不知道是什么URL请求才能访问里面的照片专辑?m trying fetch all photos from perticular album from fa...

中号想,我使用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

阅读全文

相关推荐

最新文章