Talk:Fb:login-button
From Facebook Developer Wiki
[edit] onlogout handler?
I really like the autologoutlink="true" attribute - giving users a nice obvious button to sign out with. Any thoughts on providing a hook for onlogout? It would be symmetric with onlogin, and make it a lot easier to handle logging users out of my application, while taking advantage of the look and feel of the facebook pop-up.
Thanks!
- One way you can get a handler is to use JS_API_M_FB.Connect.Logout since that lets you a make callback. -- Pete (563683308 15:12, 29 January 2009 (PST))
Is there a secure server we can grab static images from? I tried https://static.ak.fbcdn.net/ but get a security certificate error (The certificate is only valid for a248.e.akamai.net). Thanks! --Jay (561415460 19:20, 3 June 2009 (PDT))
- Hi Jay, check out Facebook Connect Via SSL. You'll need to make some changes in your code to point to the FeatureLoader over HTTPS. Then the Connect libraries will load the right images in order to display the secure version. Good luck! Pete (563683308 13:40, 4 June 2009 (PDT))
[edit] Reference local image?
Can we download the facebook login image to our server and reference that? (I understand that we can't change the image). However, it's the slowest image to load on my page.
- I wouldn't recommend it, in case we ever decide to update the image. Pete (563683308 22:43, 2 August 2009 (PDT))
[edit] Dark version of the logout button
The logout button does not seem to follow the background attribute. I get a version with a white border.
- Does it look like the dark button on Facebook Connect Login Buttons? That button does have a lighter border. If you're not seeing the correct image, please file a bug. Thanks, Pete (563683308 01:17, 31 August 2009 (PDT))
