简体   繁体   English

Facebook图形api检索墙照片

[英]facebook graph api retrieve wall photos

How Can I retrieve photos on the wall post., I only know how to get profile picture by using this graph. https://graph.facebook.com/{user_id}/picture 我如何才能在墙上的帖子上检索照片,我只知道如何使用此graph. https://graph.facebook.com/{user_id}/picture来获取个人资料照片graph. https://graph.facebook.com/{user_id}/picture graph. https://graph.facebook.com/{user_id}/picture but I don't know on wall photos. graph. https://graph.facebook.com/{user_id}/picture但我不知道墙上的照片。

It a three step process to obtain all the wall photos of a user 这是一个三步过程,以获取用户的所有墙照

  1. First make a request to obtain list of all the albums (me/albums) 首先请求获取所有专辑的列表(我/专辑)
  2. Search the list obtain in first step for album name "Wall Photos" 搜索列表中第一步获得的相册名称“ Wall Photos”
  3. use the id obtained in step 2 to get list of photos in that album. 使用在步骤2中获得的ID来获取该相册中的照片列表。 (356003227794989/photos) (356003227794989 /张)

and dont forget to have proper permission to access photos. 并且不要忘记拥有访问照片的适当权限。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM