Connect to Facebook

  1. In the POWER QUERY ribbon tab, click From Other Sources > From Facebook.
  2. In the Facebook dialog box, connect to Facebook using “Me”, your Username, or Object ID.

 Note    Your Facebook username is different from your login email.

  1. In the Connection name list, select a node to connect to. For example, select FriendLists to give you access to all information available in your Facebook FriendLists category.
  2. Click OK.

 Note    If this is the first time that you connect to Facebook, you will be asked to provide credentials. Sign in using your Facebook account and allow access to the Power Query application.

After the connection succeeds, you will be able to preview a table containing information about the selected category. For instance, if you select the Friends category, Power Query renders a table containing your Facebook friends by name, and you can expand other information about your friends from the last column in the table.

Formula Example

= Facebook.Graph("https://graph.facebook.com/me/activities")

 
 
Applies to:
Excel 2013, Excel 2010