Closed (fixed)
Project:
Facebook OAuth (FBOAuth)
Version:
7.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2012 at 02:40 UTC
Updated:
12 May 2012 at 02:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchExcellent, thanks @darrylh! I'll put this in next time I'm working on FBOAuth.
If you feel inclined, I'd like to replace the "Connect" button with the newer "Login with Facebook" button, but I haven't been able to find it easily. Fixing that at the same time (since it's the same line) might be nice to knock off #1334630: Change Facebook Button to "Login with Facebook" instead of "Connect" at the same time.
Totally optional though, this is definitely an improvement by any measure.
Comment #2
darrylh commentedI'm having trouble finding an official image as well. I've got a feeling the "Login with Facebook" may be a styled div/link rather than an image (it's probably this way to allow custom text.)
Comment #3
xlyz commentedan even more elegant solution:
$image_src = '//www.facebook.com/images/fbconnect/login-buttons/connect_light_medium_short.gif';should work (picking the right protocol)
Comment #4
xlyz commentedone question: why the image is not stored locally?
Comment #5
quicksketchWe could store it locally if we wanted to I suppose, I didn't do that originally because Facebook had such a convenient connect button already, it was easy to avoid including any images (or CSS) at all with the module.
Comment #6
quicksketchI've committed this pair of patches. D6 doesn't have have a global $is_https variable, so I checked directly against $_SERVER['HTTPS'].