facebookfacebook-graph-api

facebook graph api - get posted images from users on page


I've searched a lot, but I did not get any full information.

I need to get all images which are posted to a specific fb page by users. And do I really ned to get that app reviewed? I only need this application during an exhibition over a weekend.

The fans take a picture at our booth and post it on our timeline. These images are to be displayed automatically on a screen.

How do I get to the pictures via the Facebook API?

update:

My first move was with the following:

graph.facebook.com/v3.1/[pageid]/feed?fields=picture,message,from

Since I need only the posts from others, I'm going to filter the response object.

Is there a better solution?


Solution

  • Okay, so PAGE-ID/visitor_posts?fields=picture,message did the trick!