By Dave Parker on Wednesday, 02 April 2014
Posted in Technical Issues
Replies 3
Likes 0
Views 683
Votes 0
Hi.
I've noticed that when I post a picture on my ES stream and it's automatically uploaded into my Facebook stream that only a thumbnail is used in Facebook. Also, when you click on the picture in Facebook, it doesn't look particuarly pretty, as all that happens is a new window opens showing just the thumbnail retrieved from the ES website.
Is there any way to make this a little more refined?
Dave
Hello Dave,

If you want to post a larger image to facebook, what you can do is to edit the file 'JOOMLA/easysocial/administrator/components/com_easysocial/includes/oauth/clients/facebook/consumer.php' and look for the below code at line 208:


$options[ 'picture' ] = $photo->getSource( 'thumbnail' );


and replace the above with:


$options[ 'picture' ] = $photo->getSource( 'large' );


The above will only affect your new posting
Let me know if this work for you or not
Sam
·
Wednesday, 02 April 2014 18:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam.
OK, have changed code, will find something meaningful to post and see how FB reacts.
Just on my final point, are there any plans to make the showing of pictures that get posted on FB from ES more refined (as redirecting back to the original stream item in ES or a pop-up window from within ES)? Or are you dealing with a FB limitation here?
Dave
·
Wednesday, 02 April 2014 18:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Dave,

We can't actually control that currently because of the API in Facebook but we can use the link which links back to the stream / photo item (Which I believe is what it's doing already currently).
·
Wednesday, 02 April 2014 18:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post