next-share icon indicating copy to clipboard operation
next-share copied to clipboard

Does FacebookMessengerShareButton work without an app ID?

Open mikexavier opened this issue 3 years ago • 4 comments

I'm getting an error from Facebook when using the FacebookMessengerShareButton

Sorry, this content isn't available right now
The link you followed may have expired, or the page may only be visible to an audience you're not in.

Maybe something has changed with their API or perhaps there are settings I've missed?

Thx! :)

mikexavier avatar May 15 '22 14:05 mikexavier

Same issue here? Any update?

frederikvanhevel avatar Jun 17 '22 12:06 frederikvanhevel

@mikexavier, @frederikvanhevel

FacebookMessengerShareButton component required appId props.

import {
  FacebookMessengerShareButton,
  FacebookMessengerIcon,
} from 'next-share';

<FacebookMessengerShareButton
  url={'https://github.com/next-share'}
  appId={''}
>
  <FacebookMessengerIcon size={32} round />
</FacebookMessengerShareButton>

Bunlong avatar Jun 23 '22 13:06 Bunlong

ok, thanks, I haven't set up an app and tried this yet, but it looks like the docs need updating if this is a required prop.

ref: https://github.com/Bunlong/next-share#-facebookmessengersharebutton-props

🙏🏼

mikexavier avatar Jul 17 '22 12:07 mikexavier

@mikexavier the docs is updated. Thanks 🙏🏼

Bunlong avatar Jul 17 '22 15:07 Bunlong