skip to Main Content

A few days ago facebook stopped displaying share count information in graph. how is it currently downloaded to display on a page in php?

always after entering this link, there was also information about the number of shares and currently there is no: https://graph.facebook.com/https://demotywatory.pl/4922745/Dziecko-nie-wie-ze-to-rzezba-po-prostu-chce-pomoc

  I want to display this information on my website. how to do it? please help

2

Answers


  1. Its working like below with facebook’s app_id & app_secret.

    https://graph.facebook.com/?id={URL}&fields=engagement&access_token={your-app_id}|{your-app_secret}
    

    output :

    {
      "engagement": {
        "reaction_count": 5,
        "comment_count": 3,
        "share_count": 60,
        "comment_plugin_count": 0
      },
      "id": "https://www.testing.com"
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search