Home › Forums › Calendar Products › Event Aggregator › Facebook changed the backend picture settings. Can you change the plugin…?
- This topic has 4 replies, 2 voices, and was last updated 12 years, 1 month ago by
Julie Kuehl.
-
AuthorPosts
-
February 1, 2014 at 7:27 pm #99665
efromdc
ParticipantAs noted here, https://theeventscalendar.com/support/forums/topic/large-image-taken-from-facebook/ Facebook changed its backend in the graph API. The correct items in the facebook graph are no longer “picture” and “large.”
Its now “cover” and “source”
For example a graph API call to /601792773227011?fields=cover
produces the following as a result:
{
“cover”: {
“cover_id”: 626227990770611,
“source”: “https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-prn2/t1/s720x720/1606959_626227990770611_435274039_n.jpg”,
“offset_y”: 41,
“offset_x”: 0
},
“id”: “601792773227011″,
“start_time”: “2014-01-25T21:00:00+0100″
}The sub-field “source” produces: https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-prn2/t1/s720x720/1606959_626227990770611_435274039_n.jpg which his the large format / “big picture” that a lot of people want.
Is it possible for you guys to alter your facebook plugin so that it grabs the cover/source instead of your current setting, picture? Or at least add an option to grab said “source” pictures?
Also, can you set the featured image as this same cover/source?
I THINK lines 317-358 of the-events-calendar-facebook-importer.php control the picture graph api call, though there may be a few more sections of the code that you might need to alter (this was a cursory analysis and I havent had time to look at it that deep yet…)
– eFromDC
February 3, 2014 at 5:05 pm #100257Julie Kuehl
ParticipantHi efromdc,
Actually, thanks for opening a separate thread on this, but I’ll just repeat what I said on the other one:
Thank you for digging into that. Looks like Facebook may have implemented another change. The cover image elements of the Facebook API haven’t always been “official” and certainly not in the official API docs. We chose to go with what was guaranteed to work at the time we were working on that feature. I’ll open a ticket to have the dev team revisit the issue to see what’s different and what they think is best moving forward. We’ll let you know when they’ve got an answer.
Hang tight!
– Julie
February 4, 2014 at 3:56 am #100394efromdc
ParticipantNo prob!
February 4, 2014 at 3:17 pm #100765Julie Kuehl
ParticipantThanks!
February 26, 2014 at 5:26 am #109591Julie Kuehl
ParticipantHey efromdc,
In case you missed it elsewhere:
Just a quick update that we’re aware the situation is not ideal but we’re planning to make further changes/improvements to help address this. We’ll be making some changes that should be available in an upcoming maintenance release. We appreciate your understanding and patience on this – hang in there!
– Julie
-
AuthorPosts
- The topic ‘Facebook changed the backend picture settings. Can you change the plugin…?’ is closed to new replies.
