Twitter links clicked in Twitter iOS app add extraneous URL-encoded link to Tweet



Repro steps:

  1. Go to the following Tweet inside the Twitter app:
  2. Click on the Twitter share icon.
  3. Noticed how the Tweet dialog in the app has the following content: “Airbnb Disaster Response”

If instead you go to and click the Twitter icon, it has the correct content: “Airbnb Disaster Response


You probably want to remove the URL from the text query parameter component when constructing a Tweet web intent URL and encode parameters according to RFC 3986 (%20 vs +).

The url query parameter fills a share text component. The text component is pre-selected in web browsers for easy editing before sharing; the URL parameter is placed separately.