using simple code from FacebookConnect repo