I assume your problem is not related to react-share. If you manually share your page, the image and title are also missing? This might happen if you have not declared og namespace.
Use <html prefix="og: http://ogp.me/ns#"> as your root element and the image + content should become visible in the share dialog.
Hi people, what is wrong in my code? image and title doesnt shows `
I assume your problem is not related to
react-share
. If you manually share your page, the image and title are also missing? This might happen if you have not declaredog
namespace.Use
<html prefix="og: http://ogp.me/ns#">
as your root element and the image + content should become visible in the share dialog.root element you mean component ? or index.html ? in index.html i tired but no result.
When the Facebook bot crawls your site it should see the definitions. Depending on your setup it might be your index.html.
Have you tried https://developers.facebook.com/tools/debug/ to debug your page? Can you share a link to it?
Closing after 2 weeks of inactivity. @mirik999 please reopen if necessary.
Sory for a long time , aautio, i cant set. (( i attach 3 screenshot , maybe i did mistake.