Twitter incorrectly provides:
{
"hashtags": [
{
"text": "ABCF",
"indices": [
6,
11
]
},
{
"text": "BCH",
"indices": [
12,
16
]
}
],
"urls": [],
"user_mentions": [],
"symbols": []
}
… while twitter-text JavaScript library correctly provides:
twttr.txt.extractHashtagsWithIndices("🎵✨\n😳💓 #ABCF #BCH")
[
{
"hashtag": "ABCF",
"indices": [
9,
14
]
},
{
"hashtag": "BCH",
"indices": [
15,
19
]
}
]