开发者

hyperlink message in twitter in android

I want to tweet a message with hyperlink to some website from my android application. I am using twitt开发者_运维百科er 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜