Forum Discussion

procyon82's avatar
procyon82
Resolver I
10 years ago
Solved

Facebook Reactions

Hi,

 

I am successfully getting the number of post likes from facebook, but I am struggling to find where to get 'reactions' data. Does anybody know where to get reactions data from?

  • procyon82

     

    According to this article, we can get Facebook reactions information with Graph API starting from v2.6. The Facebook connector in Power BI Desktop relies on the Facebook Graph API, and Power BI leverages v2.2 in all calls to the Facebook API now. If you want to get the reactions data using Power BI, you can first get the post id with default Graph API v2.2.

     

    Then create another query using Graph API v2.7 as below.

     

    Best Regards,

    Herbert

     

4 Replies

  • v-haibl-msft's avatar
    v-haibl-msft
    Microsoft Employee

    procyon82

     

    According to this article, we can get Facebook reactions information with Graph API starting from v2.6. The Facebook connector in Power BI Desktop relies on the Facebook Graph API, and Power BI leverages v2.2 in all calls to the Facebook API now. If you want to get the reactions data using Power BI, you can first get the post id with default Graph API v2.2.

     

    Then create another query using Graph API v2.7 as below.

     

    Best Regards,

    Herbert

     

    • D_Whitfield's avatar
      D_Whitfield
      New Member

      awesome was looking for this. 

       

      Is there a dynamic way to pull all reactions in rather than just for a specific post ?

      I have posts and comments but am struggling to find all the reactions regarding the posts.

       

      i've seen online someone use

       

      = Facebook.Graph("https://graph.facebook.com/v2.6/[Page]/posts?fields=reactions")

       

      But this unlike the screenshot that came with this does not seem to bring back the reactions (Like, Wow... etc)

       

      Any help much appreciated

       

      D

       

       

  • How can I get the number of likes from a Facebook post which is on public page. I use the same procedure as getting the number of comments on a post but the aggregate option becomes locked.