Forum Replies Created
-
AuthorPosts
-
lorandzo
ParticipantHi guys ! Until a proper way is found to fix this issue and for those who are interested, you can import events with large cover pictures by changing the 2 following lines in the function get_facebook_photo (but you won’t be able to import facebook events with previous image standard !) :
$api_url = $this->build_url_with_access_token( $object_id . ‘/’, array( ‘fields’ => ‘cover’, ‘return_ssl_resources’ => 1 ) );
instead of :
$api_url = $this->build_url_with_access_token( $object_id . ‘/’, array( ‘fields’ => ‘picture’, ‘type’ => $size, ‘return_ssl_resources’ => 1 ) );$new_path = $api_request->cover->source;
instead of :
$new_path = str_replace(“_q.”, “_n.”, $api_request->cover->data->url);Regards,
– Laurentlorandzo
ParticipantSame issue, all my events are imported with small thumbnails. For example, these events :
http://www.facebook.com/events/611490342210588/
http://www.facebook.com/events/143982232439608/
http://www.facebook.com/events/150106418497092/
http://www.facebook.com/events/537835669589390/URLs the graph returns (with ?fields=picture&type=large) respectively :
http://profile.ak.fbcdn.net/hprofile-ak-ash4/188186_611490342210588_199474589_q.jpg
http://photos-g.ak.fbcdn.net/hphotos-ak-frc3/c10.0.51.50/p50x50/423378_10151508406163703_1564893180_t.jpg
http://photos-d.ak.fbcdn.net/hphotos-ak-frc1/c0.0.75.74/s110x80/604074_571878009502609_320998529_t.jpg
http://photos-h.ak.fbcdn.net/hphotos-ak-prn1/c42.0.51.50/p50x50/537710_10151469504857708_1406577843_a.jpgRegards,
– Laurent -
AuthorPosts
