This module is aimed to work with letsodoitworld.org and contains ldiw specific code. Still this is quite a good example joining drupal services with facebook  oauth