diff --git a/fboauth.api.php b/fboauth.api.php
index 16e66ad..8997965 100644
--- a/fboauth.api.php
+++ b/fboauth.api.php
@@ -118,3 +118,55 @@ function hook_fboauth_user_save($account, $fbuser) {
   );
   drupal_write_record('mytable', $mydata);
 }
+
+/**
+ * Alter the list of Facebook properties that can be mapped to fields.
+ *
+ * @param $properties
+ *  An associative array of Faceboook properties.
+ *
+ * @see fboauth_user_properties()
+ */
+function hook_fboauth_user_properties_alter(&$properties) {
+  // Allow the location property to be mapped to Geofield typed fields.
+  $properties['location']['field_types'][] = 'geofield';
+}
+
+/**
+ * Alter the list of Field API field types that are supported as targets.
+ *
+ * @param $convert_info
+ *  An associative array of field types and callbacks.
+ *
+ * @see fboauth_field_convert_info()
+ */
+function hook_fboauth_field_convert_info_alter(&$convert_info) {
+  // Provide a callback for mapping Facebook properties to Geofields.
+  $convert_info['geofield'] = array(
+    'label' => t('Geofield'),
+    'callback' => 'example_convert_geofield',
+  );
+}
+
+/**
+ * Example callback for conversion of Facebook location property -> Geofield.
+ *
+ * For more callback examples, check the list in fboauth_field_convert_info().
+ */
+function example_convert_geofield($facebook_property_name, $fbuser, $field, $instance) {
+  // Location properties have only a name and ID. Here we make a request to
+  // the Facebook Graph API using the ID to get geographic coordinates.
+  // An alternative approach would be to geocode using the name.
+  if (!empty($fbuser->$facebook_property_name->id)) {
+    $fbid = $fbuser->$facebook_property_name->id;
+    $response = drupal_http_request("http://graph.facebook.com/$fbid");
+    if (($response->code == 200)
+        && ($data = json_decode($response->data))
+        && (!empty($data->location->latitude))
+        && (!empty($data->location->longitude))) {
+      // Create an array structured as Geofield expects.
+      return array('lat' => $data->location->latitude, 'lon' => $data->location->longitude);
+    }
+  }
+  return NULL;
+}
