Facebook图片api照片检索 [英] facebook graph api photos retrieve

查看:86
本文介绍了Facebook图片api照片检索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何在Facebook中检索页面的所有照片。我试过

I would like to know how I can retrieve all photos of a page in facebook. I have tried


  1. https ://graph.facebook.com/(第页,这里的名字)/ albums?access_token =(令牌键这里)

  2. https://graph.facebook.com/(页面名称)/照片?access_token =

  1. https://graph.facebook.com/(page name here)/albums?access_token=(token key here)
  2. https://graph.facebook.com/(page name )/photos?access_token=

但是,2.只会显示在配置文件图片下的照片,我想要该页面的所有照片。

But 2. brings only photos that are under profile pictures I want all pictures of that page.

推荐答案

您需要使用页面访问令牌而不是用户访问令牌。请参阅 https://developers.facebook.com/docs/authentication/

You will need to use a "page access token" rather than a "user access token". See "Page login" section of https://developers.facebook.com/docs/authentication/

这篇关于Facebook图片api照片检索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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