Forum Discussion

pavelveret's avatar
pavelveret
Frequent Visitor
8 years ago
Solved

Facebook connector: Empty likes table

I'm trying to get posts from my Facebook page using PowerBI Facebook connector, but tables in likes column are empty.   I will be grateful for the advice.   Query code: let Source = Facebook.G...
  • Rod's avatar
    Rod
    8 years ago

    For some reason after the latest API update by Facebook I can only get Likes information from posts created until November/2017. Any posts created after that results on empty Likes table ...

     

    I have a big facebook dashboard on my company's page and now graphs are all messed up!

     

    Hope Facebook or Microsoft can work something out real quickly because I couldn't find a workaround.

  • DataChant's avatar
    DataChant
    8 years ago
    I have a developed advanced M queries that import the total likes per post.

    The reason you cannot import likes is that Facebook changed their policies. Only page administrators can now import likes with user ids, and only using a page token. Power BI Desktop Facebook connector relies on the user token, not the page token.

    There is a way to get the total number of likes per post, and bypass the current limitations, if you use the web connector, and an advanced M + Graph API code. You can see a working report here: https://datachant.com/downloads/facebook-analytics-dashboard-including-reactions/

    As a temporary solution, you can count the number of shares per post, using the parameter “fields=shares” in the Facebook.Graph URL.
    An example for the implementation of the shares can be found here:
    https://datachant.com/downloads/facebook-dashboard/

    I am sorry that I cannot reveal more. If it is crucial to your business, feel free to contact me in a private message.