Reddit share goes to Page not found
I can see this when using RedditShareButton
Maybe it's related to #547 because removing the /web part seems to fix the link.
#572 I ran into the same issue and opened a PR
Same issue here. When can we fix it? Thanks
I've set our version to "react-share": "5.1.0", which is the version before #547 was merged, and it seems to work fine. I think this may have been a temporary change on Reddit's side which has been reverted since then.
If you remove "/web" from link, it works good!
index.cjs > line 655-661
function redditLink(url, { title }) { assert(url, "reddit.url"); return "https://www.reddit.com/web/submit" + objectToGetParams({ url, title }); }
Same issue. One of my collaboration mates suggested this page. Finally, editing the file solved @MuhammadRehanRasool said. Going back to version 5.1.0 required a React downgrade, which wasn't good for my project. We've also implemented 'postinstall' to patch the package.