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

LaNets’s picture

Hi,

You can use FBML to display a connect button.
More details here

gkapoor’s picture

Thanks 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

randallknutson’s picture

You can use the fbconnect_render_button() function.

Randall

natrio’s picture

Hi 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

HS’s picture

If 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>

natrio’s picture

Thanks Hilal! You're right, I forgot to clear the cache :D

budda’s picture

Status: Active » Fixed

Seems to be resolved.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.