Home › Forums › Calendar Products › Event Aggregator › Large image taken from facebook
- This topic has 13 replies, 4 voices, and was last updated 12 years, 2 months ago by
Barry.
-
AuthorPosts
-
January 24, 2014 at 2:28 am #96391
itpromotion
ParticipantWhat you need to do to with facebook fetch the big picture?
As is here: https://www.facebook.com/events/601792773227011/?ref_dashboard_filter=upcoming
I have the latest updates.
January 24, 2014 at 6:12 pm #96826Julie Kuehl
ParticipantHello itpromotion,
I’m not quite sure what you are asking here. Have you tried importing images and they’re not working properly? When I try importing that event it seems to be working as expected. And to be clear, Facebook sets the rules as far as what image sizes come across. We’ve coded the plugin to import the “large” images, but the actual size that is coming across has been fluctuating recently. It looks like their current definition of “large” is 200px x 200px.
If by chance your image is smaller than that, it has helped to delete the event and reimport it to get the current size.
Does that make sense?
— Julie
January 28, 2014 at 7:07 am #97695itpromotion
Participantyes i have 200×200, and whether it can retrieve the original size
January 28, 2014 at 4:59 pm #98009Julie Kuehl
ParticipantHello again,
Facebook is the one that has determined that the “large” size is 200×200. It is a limitation of the API and Facebook controls it. It’s the biggest they make available.
I’m sorry, but there’s nothing we can do about Facebook’s rules.
— Julie
January 29, 2014 at 8:20 am #98252itpromotion
Participantbut I know several Web sites that also charge the facebook event automatically only on another script and gets them in big pictures. So unless somehow we can get around this?
January 29, 2014 at 8:23 am #98254itpromotion
ParticipantFacebook saves images in 2 sizes.
One of the overview of events, namely:
https://www.facebook.com/events/list
and 2 with a view events, namely:
So unless you need to change the skrycpie place where to retrieve the image script.
January 29, 2014 at 4:36 pm #98506Julie Kuehl
ParticipantHi itpromotion,
If you would like to try to customize the plugin to make it work for you, we have some Documentation (http://docs.tri.be/) that might be helpful. But the plugin is designed to bring in the large view as defined by the API and Facebook sets that value.
Let us know if you get something figured out.
— Julie
January 30, 2014 at 6:01 am #98676itpromotion
Participantand do it on the basis of this script?
http://codecanyon.net/item/huyai-facebook-events-promoter/5405757
to the content of events wstawiało image from the server facebook
January 30, 2014 at 3:56 pm #98964Julie Kuehl
ParticipantI don’t know anything about that script and cannot provide support for it.
— Julie
February 1, 2014 at 7:39 am #99588efromdc
ParticipantHey Julie (or current support team member):
The correct items in the facebook graph are no longer “picture” and “large. Its now “cover” and “source”
So using “ITPromotion’s” example in the first post in the thread:
/601792773227011?fields=cover
Which 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 the event creator originally submitted and is what ITPromotion is looking forIs it possible for you guys to alter your facebook plugin so that it grabs the cover/source instead of your current setting, picture? Also, can you set the featured image as this same cover/source? It looks like lines 317-358 of the-events-calendar-facebook-importer.php 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 1, 2014 at 7:41 am #99589efromdc
ParticipantITPromotion: This is what you are talking about, correct?
February 3, 2014 at 4:45 pm #100226Julie Kuehl
ParticipantHi efromdc,
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.
— Julie
February 26, 2014 at 5:25 am #109589Julie Kuehl
ParticipantHey itpromotion,
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
March 4, 2014 at 9:15 am #112313Barry
MemberHi all – as Julie mentioned we’ve made further progress here and I’d like to think we’ll see some changes rolling out shortly to help with the situations you have described. I’ll close this thread for the time being but we’ll make every effort to re-open and post and update as soon as we’ve got some more substantive news 🙂
Thanks for your patience!
-
AuthorPosts
- The topic ‘Large image taken from facebook’ is closed to new replies.
