Twitter share link mobile issue

Issue

I’m creating a Twitter share link. It works fine on desktop but for mobile its behaving differently.

Here is the Twitter share link

<a href="https://twitter.com/home?status=this%20a%20is%20a%20test" target="_blank"><svg class="twitter social_icon--twitter" ><use xlink:href="#icon-twitter"></use></svg></a> 

It’s just opening up the site without pre-filling the content.

Any ideas of possible fix, workaround or explanation.

Solution

Using https://twitter.com/intent/tweet in the url seemed to fix the issue.

Seems like “/home/?status= URLs” doesn’t work anymore.

http://www.geoffmanning.com/twitter/url-encode-a-twitter-status-message/

Answered By – Phreak

Answer Checked By – Candace Johnson (AngularFixing Volunteer)

Leave a Reply

Your email address will not be published.