简体   繁体   中英

Facebook Graph API, Retrieve photos uploaded by users

I tried this:

SELECT pid, src, src_small, src_big, caption FROM photo WHERE aid IN (
    SELECT aid 
    FROM album 
    WHERE owner=207294952707407
)  ORDER BY created DESC

But with this I only manage to get Photos that are in Albums (Which I uploaded)

I would like to retrieve the photos, that other users has uploaded on my Page wall.

Whats the right fql query for that? It is possible right?

好,那就试试这个图

207294952707407?fields=posts.fields(picture)
SELECT message,attachment,comments
FROM stream
WHERE source_id=YOUR_PAGE_ID AND filter_key="others" AND type=""

Is what I did to grab user's wall messages with images posted on wall, and worked like a charm :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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