Forum Discussion
Facebook Page Likes
- 10 years ago
I believe this is explicitly prevented by Facebook for either privacy and/or corporate IP purposes
You can get the number of likes by manipulating the Facebook Graph API URL in the Query formula to call for the [page]/insights/page_fans metric.
Here is an example (modify the page name which is highlighted in bold)
let
Source = Facebook.Graph("https://graph.facebook.com/v2.2/datachantblog/insights/page_fans"),
#"Removed Other Columns" = Table.SelectColumns(Source,{"values"}),
#"Expanded values" = Table.ExpandTableColumn(#"Removed Other Columns", "values", {"value", "end_time"}, {"value", "end_time"})
in
#"Expanded values"If you are considering a rebust Facebook dashboard with Power BI, you can learn some cool tips and tricks in my blog.
Feel free to contact me if you have any further questions.
Hello DataChant,
I tried to apply the solution that you indicated, but this one has an authentication error and is already authenticated, what can I do?
- Gferreira8 years agoNew Member
I had the same problemn. You should to logout to Facebook, then login again. Get new token and use it on Power BI.