Showing results for 
Search instead for 
Did you mean: 
olebor Regular Visitor
Regular Visitor

facebook insights



I have an issue with connection to facebook insights. 2 weeks ago, everything was working fine. I was able to connect to all insights, but now from Power BI I can connect only to public insights. 


The only thing that has changed it was a message from FB api, that my page ID migrated to another page ID. 

From the Graph API Explorer I can get all the insights. From that page, If I copy access token to power query it is working. Problem is that this access_token is valid only for 2 hours what is for my case not OK. 


Does anybody have any idea?


BR, Borut


Re: facebook insights

I also can no longer connect to insights. It worked last month, but when I went to refresh it this month, my source query is now broken Smiley Sad

It doesn't look like Facebook made any chagnes since 2.6....

Did something happen on the PowerBI end? Tech team hasn't gotten back to me with an answer neither.


DataSource.Error: Facebook: Invalid parameter

olebor Regular Visitor
Regular Visitor

Re: facebook insights



As I am aware of, this bug is already in resolving status on FB site. 

I will let you know when they will fix it.


BR, Borut

Re: facebook insights

I saw a post in FB developer's help forum. Looks like the closest one got closed unresolved Smiley Sad

I never heard back from Power BI devs neither...

Re: facebook insights

I think the problem is with Power BI, because I have no trouble pulling the data from R


getInsights(object_id="Put your object id here"
,token = "Put your token here"
,metric = 'page_impressions'
,period = "day"
, parms = "&since=2016-05-01"
, version = 2.6

olebor Regular Visitor
Regular Visitor

Re: facebook insights

Yes, with token there is no problem, but there was a possibility to get insights from Facebook just by passing the metric you want to analyse. Of course, you have to be an admin of Facebook page. 


problem with token is that token expires, and you have to get new token. But my customer doesn't want to check for new tokens. She just want to get insights from the page. 

Helpful resources

Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 78 members 1,243 guests
Please welcome our newest community members: