2016-07-20 10 views
1

自分のサイトに基本的なツイッター共有ボタンを追加しようとしています。ユーザーがSoundCloudページへのリンクをツイートしてもらいたい。私は単純なソーシャルメディアボタンを構築するためにthis tutorialを追跡しました。 Twitterは「申し訳ありません、そのページは存在しません!」と返信します。エラー。 HTMLリンクのhttps%3A%2F%2Fsoundcloud.com%2Fthegrindwithkevin%2F011-postmortem-team-eve-61816Twitter Web Intentから返される "申し訳ありません、そのページは存在しません!"存在するサイトのエラー

コード:超基本的な質問を事前に

<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> 

謝罪を

ウェブサイト共有する:エンコードhttps://soundcloud.com/thegrindwithkevin/011-postmortem-team-eve-61816
ウェブサイトのURL。

答えて

1

まあ、答えは質問と同じくらい恥ずかしいです。TwitterはURL文字列の(隠された)改行が気に入らないのです。今はオールウェイズです。

関連する問題