Topic-icon Customized login with Facebook

Active Subscriptions:

None
10 years 2 months ago #57723 by dmtalvdal
I have a modified login module that is customized due to Twitter Bootstrap 3 template.
The template is cleaned, but I would like to add a button/link to "Login with Facebook" as an option.
Is that possible?

I am also interested to add a button at "my profile" page that can connect my registrated user with Facebook. Is it possible?
The topic has been locked.
Support Specialist
10 years 2 months ago #57732 by mel
Replied by mel on topic Customized login with Facebook

I have a modified login module that is customized due to Twitter Bootstrap 3 template. The template is cleaned, but I would like to add a button/link to "Login with Facebook" as an option. Is that possible?

There are two approaches that we provide that could accomplish this:
1. You can set a custom image for the login and connect buttons. If you follow the instructions here , you can drop in a file and set a couple options in our backend to use your button image instead of ours. If you need to place this login button anywhere manually on your page, you can use the {JFBCLogin} tag in your content.
2. If you want to style an anchor tag/link instead, you can use the following code instead.
<a href="javascript:void(0)" onclick="jfbc.login.provider('facebook');"><img src="/linktoimage.jpg" /></a>

I am also interested to add a button at "my profile" page that can connect my registrated user with Facebook. Is it possible?

If you take approach number 1 from above, you should simply be able to add the social network login buttons with the same easy-tag with the option:
{JFBCLogin show_reconnect=true}

I hope this helps to get you started, but let us know if you have further questions.

-Melissa
The topic has been locked.