brain games, bbc and facebook fun

31
Brain Games, the BBC & Facebook Fun Simon R Jones, Studio 24 Barcamb, 24/04/2010

Upload: simon-jones

Post on 22-Apr-2015

2.188 views

Category:

Technology


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Brain Games, BBC and Facebook Fun

Brain Games, the BBC & Facebook Fun

Simon R Jones, Studio 24Barcamb, 24/04/2010

Page 2: Brain Games, BBC and Facebook Fun

MRC CBU

• MRC Cognition & Brain Sciences Unit

• Cognitive tests to aid research on the effects of brain damage and disease

• Traditional trial = low numbers

• The web enables mass participation

Page 3: Brain Games, BBC and Facebook Fun

Online trials

• Ran a controlled online trial with a global Pharma in March ’09

• Developed into public site at www.cambridgebrainsciences.com

• 1,800 users, 30,000 plays since Aug ’09

• 300 new users in past week, 4,000 plays

• Tests designed by MRC, built with us in Flex

Page 4: Brain Games, BBC and Facebook Fun
Page 5: Brain Games, BBC and Facebook Fun
Page 6: Brain Games, BBC and Facebook Fun
Page 7: Brain Games, BBC and Facebook Fun

Brain Test Britain!

• BBC ran a UK Brain Game trial

• 13,000 participants completed

• Tests designed by MRC, built by BBC

• Our tests used as benchmarks

• Paper published by Nature last Tuesday

Page 8: Brain Games, BBC and Facebook Fun
Page 9: Brain Games, BBC and Facebook Fun

NO

Page 10: Brain Games, BBC and Facebook Fun

“The result is crystal clear. Brain training is only as good as spending six weeks using the internet. There is no meaningful difference.”

Dr Adrian Owen, MRC CBU

Page 11: Brain Games, BBC and Facebook Fun

Site update aims

• Capitalise on Brain Test Britain & Nature report publicity

• Increase public awareness of MRC

• Use Facebook to help increase users

• Helps continuing research at MRC CBU

Page 12: Brain Games, BBC and Facebook Fun

Facebook Connect

• Login

• Permissions

• Notifications

• Invitations

Page 13: Brain Games, BBC and Facebook Fun

Login

• Login button via FBML

• JavaScript onlogin callback

• Local Ajax request / business logic

• Returns JSON with status code

• Ask user for Permissions

• Redirect to next page

Page 14: Brain Games, BBC and Facebook Fun

Notifications

• Notifications.send cancelled in March

• REST API: facebook.links.post

• Sends a link to your public wall

Page 15: Brain Games, BBC and Facebook Fun

Invitations

• Challenge your friends

• REST API: facebook.stream.publish

• Sends link to your public wall & via email

• More control over message and displayed image

Page 16: Brain Games, BBC and Facebook Fun

Issues

• Profile images loaded via FBML

• Issues with permissions dialogs

• Lack of sandbox system, test users difficult to setup

• 24 hour caching restriction

Page 17: Brain Games, BBC and Facebook Fun

Usability

• First-time user process

• Existing users can link FB account

• New users may have FB, may not

• Copywriting is essential

Page 18: Brain Games, BBC and Facebook Fun
Page 19: Brain Games, BBC and Facebook Fun
Page 20: Brain Games, BBC and Facebook Fun
Page 21: Brain Games, BBC and Facebook Fun

Go live

• SVN tag

• File & Database backups

• Offline page

• Local CSS cache

Page 22: Brain Games, BBC and Facebook Fun

.htaccess

# Offline page for all users except us

# when making major updates

RewriteEngine on

RewriteCond %{REMOTE_ADDR} !=123.123.123.123

RewriteRule ^/(.*) http://domain.com/offline.html [L,R]

Page 23: Brain Games, BBC and Facebook Fun
Page 24: Brain Games, BBC and Facebook Fun
Page 25: Brain Games, BBC and Facebook Fun

HTML

<!-- New site updates message, hidden once new CSS is loaded --><div id="site-update-message-1" style="position: absolute; left: 28%; width: 44%; padding: 5px 3px; z-index: 100; background-color: #FF0; border: 3px solid black; border-top: none; color: #000; font-size: 80%; font-weight: bold; text-align: center;">We've just updated our site to include Facebook integration.<br />Please reload your browser if you can see this message!</div>

Page 26: Brain Games, BBC and Facebook Fun

CSS

/* Hide new site message */div#site-update-message-1 { display: none;}

Page 27: Brain Games, BBC and Facebook Fun

And on Wednesday...

Page 28: Brain Games, BBC and Facebook Fun
Page 29: Brain Games, BBC and Facebook Fun
Page 30: Brain Games, BBC and Facebook Fun

The future

• OAuth 2.0

• New Permissions dialog

• Graph API

• Caching

• Contribute code to ZF?

Page 31: Brain Games, BBC and Facebook Fun

Go play some testswww.cambridgebrainsciences.com