Skip to content
Markus Sabadello edited this page Jan 27, 2015 · 6 revisions

The mapping between the Facebook Graph data model and XDI is done using an XDI dictionary.

Note: This page uses outdated XDI syntax and needs to be update.

Mapping file

https://github.com/projectdanube/xdi2-connector-facebook/blob/master/src/main/resources/xdi2/connector/facebook/mapping/mapping.xdi

Example instance document

+(https://facebook.com/)=!1111+(user)$!(+(email))/!/(data:,markus.sabadello@gmail.com)
+(https://facebook.com/)=!1111+(user)$!(+(first_name))/!/(data:,Markus)
+(https://facebook.com/)=!1111+(user)$!(+(gender))/!/(data:,male)
+(https://facebook.com/)=!1111+(user)$!(+(last_name))/!/(data:,Sabadello)

Dictionary

This Google Doc contains:

  • A general XDI Dictionary for contact data
  • An example instance document
  • A mapping from Facebook graph object names to the corresponding entries in the XDI Dictionary
  • Various notes about the mapping process

Diagram

xdi2-connector-facebook.png

Source: xdi2-connector-facebook.pptx

Clone this wiki locally