Google Friend Connect and Elgg: "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.
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.

- 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
Posted by Arunoda Susiripala, Web Developer