Facebook Event Picture from API

I seem to have discovered a bug in the Facebook API.

This is due to the image associated with the event.

When receiving images through a graph for profiles and events, you should use the following link:

http://graph.facebook.com/{eventid}/picture

For events that have already occurred (in the past), this works as expected, but when you try to get an image for an upcoming event, for example:

https://graph.facebook.com/323879667682222/picture

The actual image could not be found, and the default gray icon is shwown.

(ps. the link above is related to the event scheduled for May 3)

Can you confirm that this is a mistake, and if there is any other way to get event images from the chart.

Thank,

Wez

+3
source share
2

FQL :

SELECT pic, pic_square, pic_small, pic_big FROM event WHERE eid=EVENT_ID

URL- 4 :

  • pic - 100 300 .
  • pic_square - 50 .
  • pic_small - 50 150 .
  • pic_big - 200px 600px.

Facebook : FQL.

+4

, . FQL:

    $url = 'http://api.facebook.com/method/fql.query?query=select name, pic_small, pic_big, pic, host, description, start_time, end_time, location, venue from event where eid="'.$post.'"';


        if($sxe = new SimpleXMLElement($url, NULL, TRUE)){
            $urlimg = $sxe->event->pic_big;
}

facebook php api:

0

All Articles