Reputation: 6567
I want to tweet a message with hyperlink to some website from my android application. I am using twitter 4j api in my android app.
i.e. For example if i post a message "hello" in twitter, when i click hello it should redirect to some other website. Is this possible?
Upvotes: 1
Views: 1029
Reputation: 1356
You can't add a hyperlink to a word in Twitter. It turns HTML into text. If you put http://yoursite.com as text into a tweet, it will be made a link automatically. But if you put <a href="http://yoursite.com">hello</a> into a tweet, the HTML will be displayed as text.
This is true on the site and through the API.
Upvotes: 3