Google Friend Connect and Elgg
Thursday, September 3, 2009 | 10:45 AM
Labels: Google Friend Connect, news
This guest post was written by Arunoda Susiripala, who is an undergraduate student at the University of Kelaniya in Sri Lanka. He stepped into web development 2 years ago and developed the JConnect Integration Engine as part of the Google Summer of Code 2009. In his spare time, he enjoys playing rugby and watching comedies. - Ed.
Google Friend Connect provides a novel way to integrate social features onto any web page and is great for interacting with people from around the web. One of my favorite features is its ability to allow people to log in to websites with existing accounts.
That's why I decided to look into integrating Google Friend Connect with Elgg. Elgg is the best open source social networking platform available, but it's users have difficulty with attracting people to their Elgg sites/communities and getting them to register. So they often also try to provide people with some other means to login, whether it was OpenID, Facebook, or something else.
Once I learned about Friend Connect, I knew it could do more than the other options because it allowed people to log in to sites with accounts from many different services, such as Google, Yahoo, AOL, and OpenID. So I started to develop a plugin to integrate the backend of Elgg with Friend Connect so that people could log in with these accounts. It worked really well and I was able to get it to pass the user's name and image from Friend Connect to Elgg. I also integrated the Friend Connect social bar with the plugin so users can easily enable or disable it.
The integration with Friend Connect was very easy compared to the integration of other services and only required a minimal amount of work. The three steps I took to integrate Elgg with Friend Connect were:- Use the JavaScript API to let people log in with Friend Connect
- Use the cookie stored by Friend Connect to get information using the REST API
- Then do the Elgg logic with the obtained information

10 comments:
Link E Starbureiy said...
What is it?
September 3, 2009 4:31 PM
Arunoda's Blog said...
Elgg is a social networking platform like facebook.
and this is about back-end Google Friend Connect Integration in Elgg
September 3, 2009 9:38 PM
Karthik said...
excellent way of using Google friend connect !! I am trying to make my site, yourbse.com to be able to login with GFC, and have some features for members, but I am not good in web technologies...
September 4, 2009 10:52 AM
Umarfaruk M said...
I am waiting for GOOGLE WAVE
September 4, 2009 2:19 PM
Bob said...
Great Tool, I just added it to my blog coolgyaan.com
September 6, 2009 2:29 AM
musikji said...
yess... i like that. So..i want to get it
September 7, 2009 4:07 AM
thecouchpotatoblog said...
I have never heard of Elgg before, but it sounds like a promising social networking platform. As for using Google friend connect to log into other domains, I have heard that the Government is trying to integrate this process into its website so that people are able to view some aspects of their personal information by accessing Government websites using their Google or Open IDs!
The Couch Potato
September 10, 2009 11:16 PM
Kelly said...
my google friend connect box just disappeared suddenly today. I had moved it off of blogspot a few weeks ago. any ideas of what to do?
September 14, 2009 2:01 PM
crb said...
We would like to put up a database of teacher-alumni who visit our site. GFC seems to give us a way to get started. Is there a way to automate capturing their names and email addresses or profiles to a spreadsheet file once they sign up?
September 14, 2009 6:41 PM
vantala said...
I did not understand. If I want to post my comment with the google account - it asks me my google password on your page. No, thank you!
October 20, 2009 6:25 AM
Post a Comment