Closed (fixed)
Project:
Facebook Connect
Version:
6.x-1.0-beta6
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2009 at 19:15 UTC
Updated:
6 May 2009 at 10:10 UTC
I would like to have FB Connect link on user registration page (or any page on site) on site. I tried with these parameters in query string:
http://www.facebook.com/login.php?return_session=1&fbconnect=1&connect_d...
It opens up in New window(tab) instead of pop-up and then re-size the window. Is there way to construct the URL to have same user experience as FB connect button?
Thanks,
=gk
Comments
Comment #1
LaNets commentedHi,
You can use FBML to display a connect button.
More details here
Comment #2
gkapoor commentedThanks for quick response.
I'm new to FBML and not sure what parameters to put in href="#". Also, it will great if there can be FB connect button on comment form itself, as shown in this video:
http://mashable.com/2008/12/11/facebook-connect-blog/
Thanks,
=gk
Comment #3
randallknutson commentedYou can use the fbconnect_render_button() function.
Randall
Comment #4
natrio commentedHi guys,
I tried using fbconnect_render_button() on a custom login block, but the button doesn't show. Tried using tag too but still no good. BUT, if I do a normal login to my site and click my profile, the button is showing up just fine in there. Is there any more settings I forgot?
I thought this is a permission issue, but I can't see any permission on fbconnect on the permissions page.
Edit: Err...turns out only admins can see the button on the profile page.. normal user can't see the button, so I'm pretty sure it's a permission problem
Comment #5
HS commentedIf you added the XFBML code to page.tpl.php as outlined in the readme, you can then add the following snippet into any block. If you don't see a button - log out - clear cache.
<fb:login-button></fb:login-button>Comment #6
natrio commentedThanks Hilal! You're right, I forgot to clear the cache :D
Comment #7
buddaSeems to be resolved.