简体   繁体   中英

FQL: Retrieving Photo Upload Posts on Group Stream Table

Let's say I have a simple query like the one below, where source_id is a group.

SELECT post_id,message,attachment FROM stream WHERE source_id=xxxxx

My question is pretty straightforward. How do I get posts that are the result of a user uploading a photo to an album? With the above query, they don't show up, even though clearly a post is created on the group's wall.

Interestingly enough, if you use source_id = me(), then the query works as expected.

what coding language are you using? I just tested this in the Graph Explorer, it returned results.

Where i used a group id of which i could see. and i think the attachment->media key had something called fb_object_type = 'album' on some of the results.

Also make sure you set the right permissions.

Maybe you can use that?

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