Share Counts
Facebook

🎀 Facebook

👨‍💻 Code

import { FacebookShareCount } from 'next-share'
 
<FacebookShareCount
  url={'https://github.com/next-share'}
  appId={''}
  appSecret={''}
/>
 
<FacebookShareCount
  url={'https://github.com/next-share'}
  appId={''}
  appSecret={''}
>
  {shareCount => <span className="wrapper">{shareCount}</span>}
</FacebookShareCount>

đź“– FacebookShareCount Props

PropsTypeDefaultDescriptionRequired
urlstringThe URL of the shared page.âś…
appIdstringFacebook application id.âś…
appSecretstringFacebook application secret.âś…
childrennodeReact component, HTML element or string.❌