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

Delete props from the FacebookShareButton (since Facebook doesn't accept them anymore)

Open mamiu opened this issue 2 years ago • 3 comments

Facebook doesn't accept parameters to the sharer.php anymore. Therefore these props can be deleted.

mamiu avatar Mar 07 '23 06:03 mamiu

+1

duc82 avatar Mar 08 '23 15:03 duc82

How can we share an image then?

gwhizoftv avatar Mar 08 '23 15:03 gwhizoftv

@gwhizoftv Facebook looks for the og:image meta tag in your HTML (e.g. <meta property="og:image" content="https://ia.media-imdb.com/images/rock.jpg" />).

Have a look here for more information: https://ogp.me/#metadata

mamiu avatar Mar 15 '23 13:03 mamiu