Facebook Sync (Facebook Connect) v0.1 Beta

Release Notes

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


About the Plugin

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:

  • Name
  • Profile Picture
  • Hometown
  • Interests
  • About Me
  • Latest Status

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. 

Support & Issues

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.

This plugin is currently running on a live site with no issues but we are marking it as beta until we get more people to test it out.


Screen Shots

Settings Page


Verify Email


Sync Accounts


Verify Password


Confirmation Notice


Email Received


  • @mcmasterp: I updated the description of what it syncs. So if you connect your account with your Facebook account it doesn't pull anything. But if you create a new account or go into your settings and click update my profile from Facebook it pulls in: your name, picture, hometown, interests, about me and your latest status update.

    @rym87 & @nadiab: Thanks, we spent a lot of time on this!

  • please do something like this with twitter :) the fact that is sync and ask for the email it is great



    <!--Session data-->

  • Yeah a twitter version would be awesome! It looks like someone uploaded a fbconnect version 2? is that the same plugin as this one? are you guys on the same development team? what does your plugin do that the other one doesn't?

  • @th3m4d0n3: No, we are different than "Facebook Connect V2" that is why we changed our name to Facebook Sync. The V2 one says that it is the original plugin but just made to work on 1.6. The original plugin did not allow you to combine an existing account with your Facebook account, ours does. Also ours gives you the option to update your account from Facebook and allows users to disconnect from Facebook (this follows Facebook TOS) which will make it a site account.

    Hope that clarifies everything.


  • Is there a way to pre-determine what is brought in form the facebook profile. The only reason I ask is that I have a very custom Elgg install I amin the process of completing and if itwas viable for them not tobring acoss there profile icon that would be mots excellent as I have custmozed the way new members are shown on the index page and the facebook icons are sized completley different to the way I have them. ?

    Many thanks in advance

  • Hi,

    Is this backward compatible with elgg 1.5?

  • You can modify the start.php file, and modify the fbconnect_Get_Image_From_FB($link, $user) function where it says get_resized_image_from_existing_file($file_dir, 550, 550); and change the 550 to a smaller image size, this is the function that sets the image sizes for the profiles, so you can customize the image sizes however you want. There is not yet any functionality built into the administration section to modify the image size that is pulled from facebook, however we will consider this option when building version 0.2.

  • @Dave: Yes it is backwards compatible with 1.5. The only thing you need to do is update jQuery to 1.3.2 in the root/vendors/jquery folder. Here is the link to the jQuery file you need: http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js

  • The option to send the user to different areas is on the board for things to add to the facebook plugin, as far as your images coming in, does the facebook account have images? if the user does not have a facebook image then it will show up with the silhouette. 

  • We'll be uploading version 0.2 which has the functions people have requested so far.

    the ability to set the size of the dashboard picture and the topbar picture when downloading/updating from facebook.

    the ability to set the landing page after logging in from facebook, the settings are in the tools/plugin administration under the plugin.

  • Please make it more simple, all these windows get the user confused. me included 

    you should just have a pop up to ask for the email, i dont see why as for the passwored and email again.

  • maybe you could help on the wording to make sure its clear to the user what they are being asked for and why.

    the first part, the email address is to check on the system to see if that email address already exists.

    if it does then the user is asked if they want to sync the accounts

    if they do sync, they are prompted for their account password (this protects existing users from having their accounts stolen), then the users already existing account is turned into a facebook/existing site account, so all their posts etc.. will stay however their picture and information will be pulled from facebook.

    if the user decides they do not wish to sync the account, they will not be prompted for a password and then a whole new account is created, with just facebook information and an email is sent to the user to give them login information in case they want to login with a username/email address and not facebook.

    if the users email address does not exist on the system then a new account is created and all the other steps are skipped. 

    if you decide to sync your account and you input the wrong password, it takes you back to the beginning and asks you for your email address again and you go through the process of making sure you are who you are. it is a security feature and needed to protect users from having their accounts hijacked.

    In version 1.0 we will allow the option to set the text of the dialogs for syncing your account.


  • Category: Authentication
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 9280
  • Recommendations: 6

Other Projects

View Springs Hosting's plugins