How can I get number of shares that is shown on facebook debugger page via API?
I've empirically found it to fit the most for comparing with share counters from some others social networks, but it looks like this number does not show up anywhere except that debugger page.
Here are some details.
By now I've found 3 API calls that return somewhat relevant data:
- via graph API: http://ift.tt/1HVZYxl
- via FQL: http://ift.tt/1EaLPOU
- via some old API: http://ift.tt/1HVZXJx
The values in second and third call are identical, for my test url http://ift.tt/1H1CdTR the current ones are
share_count: 492, like_count: 5042, comment_count: 491, total_count: 6025
The counter from the first call is named shares
and is equal to total_count
from second and third call.
When you paste the url in facebook debugger and click 'Show existing scrape information', one of the first rows in table is
Canonical URL: http://ift.tt/1H1CdTR (6025 likes, 1635 shares)
Number of likes is equal to total_count
from API calls, but how can I get that 1635 shares number via API?
Aucun commentaire:
Enregistrer un commentaire