Bonfire.Tag.API.GraphQLMasto.Adapter (Bonfire v1.0.1-social-alpha.28)

View Source

Mastodon-compatible Tag API endpoints powered by the GraphQL API.

Handles follow/unfollow hashtags and listing followed hashtags.

Summary

Functions

do_follow_tag(conn, name)

do_unfollow_tag(conn, name)

follow_tag(map, conn)

Follow a hashtag

followed_tags(params, conn)

List followed hashtags for current user with pagination

graphql(conn_or_socket, name \\ nil, params \\ %{})

liveql(socket, name \\ nil, params \\ %{})

show_tag(map, conn)

Get a hashtag by name

unfollow_tag(map, conn)

Unfollow a hashtag