Topic-icon [SOLVED] SSL issue in Social stream Module

Active Subscriptions:

None
9 years 11 months ago - 9 years 11 months ago #58696 by Charmaine
Hi!
I'm having a SSL issue with JFBC. In my case (snowflakedesigns.co.uk/) it is because of Social Stream module, that loads the images over HTTP from Twitter and Facebook. I rechecked all applications (facebook, twitter) and everywhere my site was mentioned with https. On the JFBConnect component, in the COnfiguration tab, in Advanced settings I choose Force Scheme to HTTPS. I was checking all the documentation available and the forums here and didn't find a solution yet. Please help!
Last edit: 9 years 11 months ago by Charmaine.
The topic has been locked.
Support Specialist
9 years 11 months ago #58715 by alzander
Nice catch. It looks like our Channel feature is pulling the non-https image to display in the feed. Can you try editing the following file:
/components/com_jfbconnect/libraries/provider/twitter/channel/stream.php
Around line 80, you'll see:
$post->thumbPicture = (isset($tweet->entities->media[0]) ? $tweet->entities->media[0]->media_url : "");
to:
$post->thumbPicture = (isset($tweet->entities->media[0]) ? $tweet->entities->media[0]->media_url_https : "");

After you do that, clear the Joomla cache and test again. It may take an hour or so for all the old images to be updated though.

Please test and let us know how that goes!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #58724 by Charmaine
It helped immediately! Thanks a million Alex!
The topic has been locked.
Support Specialist
9 years 11 months ago #58728 by mel
Thanks for letting us know. I've added an issue to our tracker to address this in the next release.

-Melissa
The topic has been locked.