hatkidchan / mastoposter

Mastodon to [anything] reposter. Anything being {Telegram, Discord} for now.
GNU General Public License v3.0
26 stars 3 forks source link

Implement Reposting of "Favourites" #14

Open vapronva opened 2 years ago

vapronva commented 2 years ago

What?

Some of the microblogging services have a variant of "liking" or "favouriting" a post/statuses (for instance, Mastodon).\ It would be nice to have a functionality in mastoposter to send messages about user's favourited statuses.

Example

// Favourited post from [Hating Coffee Every Day](https://mastodon.vapronva.pw/@hating_coffee_everyday)
drinking 🥛 water 🌊 for those ☺️ who 🤔 do not ❌ drink ☕️ coffee 🤮🤮

[*Link to post*](https://mastodon.vapronva.pw/@hating_coffee_everyday/108128897216203199)

How?

For example, Mastodon has direct API endpoint for fetching user's favourited statuses.

hatkidchan commented 2 years ago

I can't recall any method of listening for favorites, so I'm not sure if that's even possible to do without some dirty methods such as constantly asking the instance for new data (which is not a good way to do that!). If there is one, please let me know!