Apr 272010
 

I’m really getting into Social Media at the moment.  OK that’s not original and yes it’s a bit behind the 8 ball, but I have of course used it a lot before; I just haven’t really dug into it to try and understand the dynamic, what people are thinking when they use it, why they put such dumb stuff on it and also more importantly how it can be used constructively to really build links between disparate communities and expose those who would seek to maintain the artificial inequalities and misunderstandings that exist in the world.

In step Boobquake!

http://www.facebook.com/#!/pages/Boobquake/115608248460905

Blag Hag: And the Boobquake results are in!.

In response to the absurd claim by Iranian Cleric Hojatoleslam Kazem Sedigh that claimed that:

“Many women who do not dress modestly … lead young men astray, corrupt their chastity and spread adultery in society, which increases earthquakes,” (ref http://www.guardian.co.uk/world/2010/apr/19/women-blame-earthquakes-iran-cleric)

Jen McCreight decided to put it to the test and Boobquake was born.  At a time when the Iranian people need all the support they can get to stand up to the increasingly outrageous antics of their leaders this not only holds a light up to the ludicrous individual it provides valuable social proof to those within the country that their “noble leaders” aren’t the font of all knowledge.

Check it out, this sort of leverage is gold!

Dec 032009
 

I’ve been doing a Facebook Connect implementation using CakePHP and was having no luck using the fb.connect.logout function.  I’m not sure whether this qualifies as a bug (dodgy code) or just a case of RTFM (or look at the examples closely) but I simply couldn’t get the fb.connect.logout function to log me out of Facebook and consequently my own application.

Testing a few combinations the on

<a href=”/users/logout” onclick=”FB.Connect.logout(logoutCallback())”>Logout</a>

(who’s logic I found here http://developers.facebook.com/docs/?u=facebook.jslib.FB.Connect.logout)

simply didn’t work.  The function was called as was the callback but it simply didn’t log out of Facebook.

The only way I could get it to work was using the logoutAndRedirect function instead, using the following:

<a href=”#” onclick=”FB.Connect.logoutAndRedirect(‘/users/logout’)”>Logout</a>

NOTE: Originally I had put a value in the href attribute (“/users/logout” thinking it would degrade nicely) but this stopped the main function from working, so as far as I can tell you must have a # symbol in the href.

Nov 242009
 

Working through an implementation of the Facebook Connect I got caught up in the tangle of documentation that surrounds it and couldn’t work out how to get the session key information so here it is a note to self about how to retrieve the Facebook session key using php client api:

$fbsessionid = $this->facebook->api_client->session_key;