McKael / madonctl

CLI client for the Mastodon social network API
MIT License
193 stars 9 forks source link

Documentation / feature request about madonctl stream :hashtag #3

Closed bortzmeyer closed 7 years ago

bortzmeyer commented 7 years ago

Apparently, madonctl stream :hashtag shows only toots from your timeline. I say "apparently" because it does not seem to be documented.

I would like to "follow" a hashtag, therefore showing all the toots using this hashtag, not only my timeline. (I assume it could be on my instance only, because Mastodon does not offer distributed searches.)

McKael commented 7 years ago

I don't think that's the case... The API docs don't say it's related to the user timeline: https://github.com/tootsuite/documentation/blob/master/Using-the-API/Streaming-API.md

And when I test with a hashtag like 'mastodon' I get stuff that is not in my TL.

(However it only returns statuses known to the user instance, that is, toots from the instance federated timeline...)

bortzmeyer commented 7 years ago

I found only one toot from someone not in my TL (but it may have been boosted).

McKael commented 7 years ago

I've tested again with another account on another server where I follow only 1 account and I'm pretty sure the toots I receive are not from my timeline.

My current guess is that you follow too many people :)

(Or are you expecting to see all existing toots that contain this hashtag? If so, that's not what the stream API does, you only get the new ones...)

McKael commented 7 years ago

BTW, the API does not provide a way to get existing statuses for a given hashtag, so it isn't in Madon, but it should be easy to add. I'll have a look.

McKael commented 7 years ago

Uh. Sorry about previous comment, of course there is a way: % madonctl timeline :mastodon

McKael commented 7 years ago

@bortzmeyer Do you still think there is an actual issue or can we close the ticket?

bortzmeyer commented 7 years ago

OK, close.

McKael commented 7 years ago

Closing as agreed.