Is there a way to get the twitter share count for a specific URL?

前端 未结 12 849
故里飘歌
故里飘歌 2020-12-22 20:04

I looked through the API documentation but couldn\'t find it. It would be nice to grab that number to see how popular a url is. Engadget uses the twitter share button on a

12条回答
  •  萌比男神i
    2020-12-22 21:04

    This Javascript class will let you fetch share information from Facebook, Twitter and LinkedIn.

    Example of usage

    Facebook count: .

    Twitter count: .

    LinkedIn count: .

    Download

    https://404it.no/js/blog/SocialMediaStats.js

    More examples and documentation

    Javascript Class For Getting URL Shares On Facebook, Twitter And LinkedIn

提交回复
热议问题