Hacker News new | ask | show | jobs
by ninebrows 4029 days ago
Does twitter api matter anymore? I stopped using it a while back. I think stuff like this is helpful to businesses who buy their data.
1 comments

I found twitter-text useful for linkifying URLs in a chat application (not related to Twitter) that I built a couple of years ago.

The URL extraction functions are quite robust and handled the task well. This library has use cases beyond just parsing Twitter tweets.

Yep. This is exactly the use case I had in mind when I was looking for a library like this. These features are useful in all kinds of social/chat apps that need to convert users' plaintext messages into rich multimedia content.

Identifying things in plaintext is one of those things that seems very simple but ends up being a pain to get right if you want it to be robust enough to handle all the corner cases.

There's a reason why this library has over 2k commits! I'd hate to have to rediscover all the lessons they must have learned the hard way...