hayamiz / twittering-mode

An Emacs major mode for Twitter
http://twmode.sourceforge.net/
545 stars 92 forks source link

displaying tweet information (likes, retweets, ...) #151

Closed DrWaleedAYousef closed 5 years ago

DrWaleedAYousef commented 5 years ago

How can I display the number of likes, number of retweets, who liked, ...etc in the twittering-mode.

cvmat commented 5 years ago

You can render a tweet with the count of retweets or likes by changing the variable twittering-status-format. For example, the string "%FIELD-IF-NONZERO[ ↺%d]{retweet_count}" in the variable will be rendered as ↺50 if the retweet count is 50. You can also use favorite_count as well as retweet_count. For detail, see the docstring for the variable twittering-status-format, which can be displayed by invoking M-x describe-variable and specifying twittering-status-format. Users who liked the tweet, cannot retrieved by the current Twitter REST API. Theoretically, users who retweeted the tweet may be retrieved by a Twitter API, but it is not implemented because it requires additional invocations of APIs for each retweets and also it will be complicated.

DrWaleedAYousef commented 5 years ago

Thanks so much