× Joomla Facebook Connect support forum

Topic-icon Using JFBConnect with a SSL

Active Subscriptions:

None
16 years 1 month ago #3690 by localizit
C'mon we are wating... let's see what you got?
The topic has been locked.
Active Subscriptions:

None
16 years 1 month ago #3691 by localizit
Just kidding! We tried replacing the http:// statements with https:// in the code snippets you sent, but still no luck.
The topic has been locked.
Support Specialist
16 years 1 month ago #3694 by alzander
Sorry about that. Yes, my plan was just to change both of the http links to https. It sounds like you tried that with no luck. I will try to get a test environment with SSL setup this weekend so I can see what you need to do to get this working. I will let you know once I figure it out.

Thanks for your patience.
The topic has been locked.
Active Subscriptions:

None
16 years 1 month ago #3697 by localizit
Thanks - looking forward to a positive outcome!
The topic has been locked.
Support Specialist
16 years 3 weeks ago #3719 by alzander
Alright.. who wants to do some testing? The below is what we've determined to allow an SSL connection to work, but we haven't tested thoroughly. We'll attempt to get a solution that actually tests for what type of connection the user is on and choose ssl vs non-ssl. However, from the little testing we've done, SSL should be ok even on a non-ssl connection (just a little slower), so you should be able to hard-code these values without issues:
Change the javascript include from facebook to the following (the bolded portion is whats changed):
/components/com_jfbconnect/views/xdreceiver/tmpl/default.php
<script src="https: //ssl.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js"

/components/com_jfbconnect/helpers/facebookhelper.php
<script type=\"text/javascript\" src=\"https:
//ssl
.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php\"></script>

Note: There's a space between https: // above. This is there, because otherwise, the forum inserts a smily. Don't put this space in your code!

Please let us know, and sorry for the delays in getting this response out!
The topic has been locked.