⚡ A collection of Azure functions related to Twitter hashflags
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Twitter Hashflags Azure Functions

Build status License: MIT

This git reposistory contains a collection of Azure functions related to Twitter hashflags. Currently there are 5 functions:

  1. ActiveHashflags fetches the active from Twitter, and stores them in a JSON object in an Azure Storage Blob. You can find the list of current hashflags here.
  2. UpdateHashflagState reads the JSON, and updates the hashflag table with the current state of each hashflag.
  3. StoreHashflagImage downloads the hashflag image, and stores it in a blob store.
  4. CreateHeroImage creates a hero image of the hashtag and hashflag.
  5. TweetHashflag tweets the hashtag and hero image.

What is a Hashflag?

A hashflag, sometimes called Twitter emoji, is a small image that appears after a #hashtag for special events. They are not regular emoji, and you can only use them on the Twitter website, or the official Twitter apps.

Hashflags from Eurovision 2015 Hashflags from Eurovision 2015

Why create a Azure Functions?

Currently Twitter doesn't provide an official API for hashflags, and there is no official list of currently active hashflags. @hashflaglist tracks hashflags, but it's easy to miss one – especially as many of them are temporary.

The aim of this project is to allow people to use hashflags outside of Twitter, provide an up to date list of all the latest hashflags, as well as a historical archive of previous hashflags. In same the way that you can miss context when an emoji doesn't display correctly, hashflags are integral to talking about Twitter trends outside of the microcosm of Twitter. In the Eurovision example above, it's very hard to place the three letter hashtag alone without the distinctive Eurovision hashflag.

What's the architecture of the functions?

Architectural diagram of the functions