Some users were saying that they could not find a working Facebook Login plugin. There is only one working so far. This article gives a step by step guide on how to enable Facebook login in Elgg:
1. First, we download the working Facebook Services Plugin from aniduprutta here.
2. Unzip the file. After that, with an FTP manager, connect to your website public_html. Then, go the folder mod and upload the plugin in that folder:
3. Now, login as an administrator in your Elgg site, and go to the Tools Administration page, then look for the plugin that you just installed, which is facebookservice:
4. Then click on Enable. After enabling it, you will need to configure the plugin. Click on the settings link of the plugin. There, you will need to enter your Facebook API Public and Secret Key. Enter it and select Yes to Allow users to sign on with Facebook. Save your changes:
5. Now, users are going to be able to login to your site with their Facebook credentials.
I hope you have found this article useful. If you experience problems with this plugin, ask here for support.
This now concludes how to enable Facebook login in Elgg
Looking for quality Elgg Hosting? Look no further than Arvixe Web Hosting!
Happy Hosting!
Rodolfo Hernandez
Hi.
Thank for the Plugin.
I did as per your steps but I got this error below:
Error
An error occurred with student2student Login. Please try again later.
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application.
Please help. Thank you.
Which version of elgg are you using?
I am using 1.8
@Sam You will get that error ’cause this is fo 1.7 I will upload a guide for 1.8
Rodolfo Hernandez
Arvixe/Elgg Community Liaison
@Rodolfo Oh ok. Thank you for the reply. When would that be? Could you please drop me an email when the 1.8 is available?
Hello rj.
I make this, but in the index don’t appear the facebook button.
Spanish:
Hola Rj, gracias por el documento. ya he seguido todos estos pasos, de echo tengo funcionando otro plugin tambien llamado facebookservice para actualizar el wire en facebook sin problemas. El problema que tengo es que no me aparece el botón de facebook en el index. He puesto el index normal, ya que tengo un custom-index pero lo he desactivado.
¿Que parametros habría que poner en el custom index para que aparezca? es que me estoy volviendo loco, jeje.
He probado con otro plugin, y con ese si consigo que aparezca, pero abre una ventana y se cierra al momento.
Un saludo y gracias.
Hello Gastre!
Ok, tienes que poner el codigo de login with facebook en tu custom index:
El path es:
facebookservice\views\default\facebookservice/login.php
Este es el codigo
<?php
/**
*
*/
$facebook_link = facebookservice_get_authorize_url();
$login = <<<__HTML
__HTML;
echo $login;
?>
Rodolfo Hernandez
Arvixe/Elgg Community Liaison
Hi
Thanks for this post.
I did all of this. I’m Using Elgg 1.7.14. When a user want to register, it takes him to facebook, and all the authorization process seems to work on the facebook side. But then the user is taken to the login of my site again. And when he click on login with facebook again, it simply refresh the page.
Can you help me ?
Thanks.
Hi Dyaz,
Did you create your API public and secret key correctly? Did you set on facebook the domain in which you will be using the App? Did you set your App to allow login with facebook?
Yes I did all that. All the authorisation proccess works perfectly.
I am using a very custom theme and I want to put the FB login in a different spot. What code to I need to put where I want the FB button to appear?
thanks!
chad
On the facebook plugin you need to get the code of the facebook login and put it wherever you want.
Thanks for finally writing about >How to Enable Facebook Login in Elgg 1.8 | Arvixe Blog <Loved it!