Twitter Share Link From Website


#1

I am Sharing the text with link using angular from ( https://twitter.com/intent/tweet?text=ss&url=url ) its always opening web-browser but I want that if app is there in mobile then it open app otherwise it will open the web-browser for share link


#4

The example in https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/overview.html works correctly for me.

I’d say if you use https://publish.twitter.com/?buttonType=HashtagButton&query=button&widget=Button to generate the HTML it’ll work for you too.