获取facebook“其他人的照片"使用图谱api [英] Get facebook "Photos by Others" with graph api

查看:80
本文介绍了获取facebook“其他人的照片"使用图谱api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以从我的Facebook页面上获取图像,但没有问题,但是只有页面管理员上传的图像.

I am able to get images from my Facebook page no problem, but only images uploaded by page admins.

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

我想要获得的是其他人"上传的所有图像-粉丝发布到该页面的图像.

What I want to get is all images uploaded "by others" - Images posted to the page by fans.

可以做到吗?

推荐答案

是的,我刚刚确认您正确无误,指出/photo连接中的照片仅是页面管理员和页面管理员在此处放置的照片.但是,对于用户上传到页面的照片来说,它们不在那儿,因为它们位于另一个相册中:

Yes I just verified that you are correct in stating that the photos in the /photo connection are only photos put there by the page and page admins. However for photos that users upload to the page, they're not there, because the live in a different album:

fql?q=SELECT pid, object_id,src_big, link, caption FROM photo WHERE pid IN(SELECT pid from photo_tag WHERE subject='PAGE_ID')

以某种方式将其上传到页面时,facebook会标记"相册中的页面.奇怪吧?

Somehow when uploaded to a page, facebook "tags" the page in the album. Strange, eh?

这篇关于获取facebook“其他人的照片"使用图谱api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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