Getting Google Friends Connect to Work with FaceBook Connect

It seeems getting facebook connect to work with google friends connect has been a issue on the minds of most developers and not many of them has came up with an idea solution for it.

After having attended the google hackathon last month and witnessing how patrick got it the two of them to work it got me experimenting with bringing facebook connect and google friends connect to work together for a while now. The site I am working on is Thing To Do Singapore.

Last night I was finally successful at getting the two of them to work together in a somewhat weird kind of way.

Bascially Pages with GFC elements should not be introduced with FBML elements and vice a vice. Such a way would cause it to clash. However since authentication for facebook results in a session storing on the server, one possible method for implementing the two on the same system could be via ajax.

On Things to Do Singapore the default log in is Google Friends Connect. On another page http://thingstodosingapore.com/facebook/ user can log into their facebook accounts using facebook connect.

So once both of these are done, in the event the user generates some contents on the default page, 3 things will happen.

  • their facebook status will be updated
  • their google friend’s connect activity will be updated
  • the twitter main account ThingsToDoSg will be updated.

Additional events that might happen. Suppose the user declares that this entry has more details in a specific blog. The server will automatically do a ping back once the on the server with the blog entry.

In short I am attempting to position Things To Do Singapore as both and aggregator and a disseminator.

Cool Islam site

Recently while surfing the web I came across this Islam site built by a Singaporean company. I found it to be very impressive. The way the visual elements of the site positioned the image of the religion. But more specifically the sound tracks of the site are what attracted me. I have been listening around Pop and Jazz music recently. While Jazz harmonies remains still interesting for me, pop songs in general are nothing something to listen to when attempting to look for new unique progressions.

Islamic music however is a different breed of its own, with its scale that steps out of the traditional half steps tones normally used in the main stream genere.

Find out for yourself if you will

Here is the site

http://simplyislam.com.sg/new/simplyislam-jukebox/