Facebook recently changed the way it processes images in events. How to get an event image after these changes?

Facebook recently changed the way it processes images in an event. Now you can upload a photo that will be displayed when sending the event to someone on the wall or in a group and which you can use as a cover.

How do I get this image?

Before I used this query

$fql[$id] = "SELECT eid, name, description, start_time, end_time, venue, location, update_time, has_profile_pic, pic_big FROM event WHERE eid IN ($imploded_eids) AND start_time > $time"; 

but right now pic_big returns most events only enter image description here what should I do?

EDIT - I get this image for new events, even if I use event_id / picture, as you can see from this event. 546510352049607 / cover picture https://www.facebook.com/events/546510352049607/

EDIT2 - I also opened a bug on facebook for this

+4
source share
1 answer

There is a special field for the cover:

 pic_cover (struct): Cover picture of Event 

SELECT pic_cover FROM event WHERE eid = 546510352049607

pic_cover may give null , but this is another problem . The problem is solved, otherwise this question is a duplicate.

+1
source

All Articles