存在站点的 Twitter Web Intent returns "Sorry, that page doesn't exist!" 错误

Twitter Web Intent returns "Sorry, that page doesn't exist!" error for a site that exists

只是想在我的网站上添加一个基本的 Twitter 分享按钮。我想让用户将 link 发送到 SoundCloud 页面。我跟随 this tutorial 构建了简单的社交媒体按钮。 Twitter returns 一个 "Sorry, that page doesn't exist!" 错误。

要分享的网站:https://soundcloud.com/thegrindwithkevin/011-postmortem-team-eve-61816
网站 url 编码:https%3A%2F%2Fsoundcloud.com%2Fthegrindwithkevin%2F011-postmortem-team-eve-61816

HTML的代码link:

<a className="custom-share-button" href="https://twitter.com/intent/tweet/
           ?text=Check%20out%20this%20podcast!
           &url=https%3A%2F%2Fsoundcloud.com%2Fthegrindwithkevin%2F011-postmortem-team-eve-61816
           &via=thegrindwithkev"
         target="_blank">Share on Twitter</a>

提前为超基础问题致歉。

好吧,答案和问题一样令人尴尬:Twitter 不喜欢 URL 字符串中的(隐藏)换行符。现在好了。