*** Make sure you read the readme.txt in the zip to know where to get the Facebook API key. Also make sure to put the API key under the settings in the tool administrator***
The Elgg Facebook plugin allows your existing users to login to their account on your site using Facebook, and new users to create an account using Facebook. It also allows users to disconnect from Facebook which follows Facebook's TOS so your developer account won't get banned.
Your existing users will be given the option to sync their current account with their Facebook account, or the option to not sync and create a new account using their Facebook login.
The plugin pulls the following from Facebook:
Once a user is registered with Facebook they can login to your site any time by clicking on the connect with Facebook button(s).
The plugin asks users for an email address to cross reference exisiting users as well as being able to store their email address since Facebook doesn't give that information out.
Then if you want to sync accounts it asks for your existing password so no one can hijack your account.
Admin settings give you the options to change the login landing page, change text in each dialog box for new user registration and the ability to set the width and height of the downloaded Facebook dashboard image and the topbar image (this doesn't mean you can change the default Elgg avatars, but images from Facebook will have your size settings).
If you have and issues with the plugin please comment, we do not officially support this plugin but we will try to help anyone who has an issue.
If you find any bugs please also report them here as well as any fixes and we will incorporate them into the next release.
Feature requests will be considered as well.
View Springs Hosting's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Hola, buenas noches, me da le siguiente error, cuando le doy al boton "connect whit facebook"
El formulario está campo perdido __token o __ts
Alguien sabe por que pued ser ?
Sorry for the newb question but I have gone through the process creating an application with Face Book. I then got the API key and Secret Key. I've entered them in the appropriate field in the fbconnect settings.
I have activated the module and now I am getting an error since Face Book doesn't know what URL to point to other than the default one.
Configuration errors:
Thanks in advance for any ideas.
jhi
at the risk of sounding stupid, what file would i add <?php echo elgg_view('input/securitytoken'); ?> into to get the tokens working?
thanks in advance
hi
thanks for the great plugin, i have been getting a token error and i have been searching the php files for <form action..................................method="post">
to add this line of code immediately after it:
<?php echo elgg_view('input/securitytoken'); ?>
as advised by moosh101: http://community.elgg.org/mod/groups/topicposts.php?topic=443390&group_guid=179063
but i cannot find the form action??? where can i find this please or could it be a theme problem?
thanks in advance
i am getting error : forms missing _token
I have this error: Form have missing tokens or fields
How I fix that?
Hi,
I downlaoded and installed this plugin including the facebook side wihtout any major issue. But now when I click on "Facebook Connect" button I get the following error:
Form is missing __token or __ts fields
Any help would be greatly appreciated.
@ Siamak, Emanuel Moreno, debix
Please follow mentioned steps to remove "Form is missing __token or __ts fields" Error.
(1) Find file: fbconnect/views/default/fbconnect/login.php
Delete current code and update file with new code as mentioned below
<?php
$ts = time();
$token = generate_action_token($ts);
?>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
<div id="facebooklogin-box" style="padding-left:20px;"><fb:login-button onlogin="facebook_onlogin();" v="2">Connect with Facebook</fb:login-button></div>
<script type="text/javascript">
function facebook_onlogin() {
document.location.href = "<?php echo $vars['url'] ?>action/fbconnect/login?__elgg_token=<?php echo $token ?>&__elgg_ts=<?php echo $ts ?>";
}
FB.init("<?php echo get_plugin_setting('api_key', 'fbconnect'); ?>", "<?php echo $vars['url']; ?>mod/fbconnect/xd_receiver.html");
</script>
(2) Find file: fbconnect/start.php
Change last line of file:
register_action("fbconnect/login",fase,$CONFIG->pluginspath . "fbconnect/actions/login.php");
To updated code:
register_action("fbconnect/login",true,$CONFIG->pluginspath . "fbconnect/actions/login.php");
Please don't forget to post your comments/views/suggestions.
Thanks & Good Luck!
> Dipak C. G.
I have this error in google chrome:
El sitio web ha detectado un error al recuperar la http://youandmy.com/action/fbconnect/login?__elgg_token=6d6713a09ca2bb6f711cb8b2c07541cc&__elgg_ts=1299528938http://youandmy.com/action/fbconnect/login?__elgg_token=6d6713a09ca2bb6f711cb8b2c07541cc&__elgg_ts=1299528938. Es posible que esta esté inactiva debido a tareas de mantenimiento o que se haya configurado de forma incorrecta.
And in the other browser not work...
Hi got this to sync but it only pulled accross my location from FB nothing else, im running Elgg 1.7.7 is there an fix for this to pull other info and the profile picture accross too?
Davie
Just tried this and - after applying the fix above - it worked instantly, literally, no dialog boxes appeared, after hitting the connect button it simply created the account and pulled the info (I should point out that I was logged into facebook using the same browser at the time of hitting the connect button). However, I did notice a couple issues:
1. I set the profile icon to 100x100px, but the icon on the profile page is still at 200x200px, and it's a "mystery man" icon, not my facebook profile pic.
2. After logging out (of my site, not facebook) and trying to log back in again, it generates this error message:
and loads the homepage in without logging me back in.
Any suggestions?
Also, is it possible to - once it's working that is - add the button manually via a widget? Preferably via the Free HTML widget as I intend to use social networks as the primary join/login method and only have the local forms in place as an optional alternative (and therefore not displayed on the homepage)...
For the benefit of anyone who was sent the comment I just deleted - I'd posted it on the wrong plugin page. Apologies, I lay the full blame of my mistake on being overworked (just spent a whole afternoon PR'ing, which essentially involved me walking the streets of my home city offloading flyers to various venues/establishments)... }_,_}
@ Dipak C. G
Thanks Dipak, I've fixed this problem on login page, but getting same error again in the Settings page of old users.
please help my doesnt work..can please someone try..thank you
www.mysaviortech.com
Hello everybody,
just my first statement. There is some problem after I have enabled the plugin.
The error was: PHP Parse error: syntax error, unexpected $end in *\html\mod\fbconnect\views\default\fbconnect\header.php on line 114
After checking the code of header.php I've found some <? and have changed the lines in <?php.
Now the first step is done. I'm really excited about the plugin works.
Indy
Hi friends,
I have modified my login.php and start.php arcording to Dipak's instructions.
But when I try to logon with facebook I get this behaviour:
1) E-mail verification
2) sync or standalone account (choose sync)
3) prompt for facebook password
Then I get a password error and goes back to 1)
If I in 2) choose a seperate account, then there is no problems.
Is that normal? Or are there some other requirements that I am not aware of?
Dipak C. G.
Thank you very much! I can now login via facebook successfully...
but!
When, in my settings, I go to synch facebook with my site, it still says missing _token or _tsfield
(even if im logged in w. a fb account
Hi
I have installed the plugin on my elgg 1.7.10 and it works fine.
But whenever I logout I get directed to my facebook site, were can I change that?
Another question for you:
Wich theme works with this plugins?
This totally works for 1.7.10 (not in other versions) Use this:
It lets you login, but it won't sync your data or even your profile pic. I am still trying to figure out, perhaps an API change?
I am having a couple issues with this and would love some help. Several people have not been able to log-in because the password comes across as incorrect. Also, it does not pull any information from Facebook.
Any help would be appreciated.
Unfortunately the plugin is not working. (Token missing etc.) Does it use the newer PHP SDK? Or the deprecated Rest,...
i installed it on elgg 1.6 but in admin tools page, in fbconnect section i not have setting button, so i can't insert api and secret.
Please help me.
thanks
hello can i use this for elgg 1.8 version .....??