admin管理员组文章数量:1401784
I'm inserting tweets in one website, but i'm with a little problem to get the entities (hashtags, mentions, links...)
REST Api give us information about the entities, like we can see here
But, the api give me the indices of this entities in the string text (tweet), but, if i insert a link in this tweet, the other link will change, and make verifications from all cases will spend much time.
Someone know some way to do that, a easy one, or some plugin in jQuery or API that make this for us?
(P.S.: Sorry some error, i'm a brazilian developer and my english was not so good :D )
I'm inserting tweets in one website, but i'm with a little problem to get the entities (hashtags, mentions, links...)
REST Api give us information about the entities, like we can see here https://dev.twitter./docs/tweet-entities
But, the api give me the indices of this entities in the string text (tweet), but, if i insert a link in this tweet, the other link will change, and make verifications from all cases will spend much time.
Someone know some way to do that, a easy one, or some plugin in jQuery or API that make this for us?
(P.S.: Sorry some error, i'm a brazilian developer and my english was not so good :D )
Share Improve this question asked May 3, 2012 at 16:52 evandrobmevandrobm 4451 gold badge7 silver badges17 bronze badges2 Answers
Reset to default 6Quick google yielded the following gist:
https://gist.github./442463
Also have a look at this one: https://github./twitter/twitter-text-js
本文标签:
版权声明:本文标题:javascript - Create links to tweet text from entities (hashtags, links, mentions...) of Twitter REST API - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744306411a2599815.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论