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

remove "web" from reddit share url

Open monika-with-a-k opened this issue 9 months ago • 4 comments

Remove "web" element from path for RedditShareButton

Current issue:

  • The current share url leads to a "Page not found" error, making sharing to Reddit impossible
  • Example: https://www.reddit.com/web/submit?url=http%3A%2F%2Flocalhost%3A3000%2Fblog%2Fblog-post&title=Blog+post&type=LINK

Fix:

  • Changed the path so it works correctly
  • Example: https://www.reddit.com/submit?url=http%3A%2F%2Flocalhost%3A3000%2Fblog%2Fblog-post&title=Blog+post&type=LINK

monika-with-a-k avatar Mar 28 '25 20:03 monika-with-a-k

🦋 Changeset detected

Latest commit: 99146efa8c445a24ccfc144772a3f1a3b9ece7fe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
react-share Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Mar 28 '25 21:03 changeset-bot[bot]

Any plans to merge this? The current share button implementation is completely broken for me

caseyszilagyi avatar Jul 04 '25 23:07 caseyszilagyi

Just a friendly note to urge you to please merge this PR :-)

axis80 avatar Oct 25 '25 20:10 axis80

@nygardk any chance we can get this merged? I have confirmed that https://www.reddit.com/submit is the correct url for sharing links.

https://www.reddit.com/web/submit is no longer a valid working url.

mattmillsxyz avatar Nov 20 '25 23:11 mattmillsxyz