Add a new social media

library(episomer)

Introduction

Common post format

In order to support multiple social media, epiSoMeR transforms each response containing posts into a standardised common format. This format simplifies the handling of distinc types of social media. In order to implement this a set of functions needs to be implemented for each social media following a specific namingo convention.

The common post format is defined as follow

Pre-requisites

Before trying to add a new social media, you need to ensure that you are in “development mode”, i.e:

Add a new social media

Creates API and plan files

In order to add a new social media, you need to follow the following steps:

add_new_social_media(social_media = "new_media")

2 files are expected to be created:

Functions are provided as “skeleton” to be filled, it’s advised to look at the existing functions for the reference social media (i.e “bluesky”) and adapt the functions to the new social media.

Setup credentials

Social media credentials are set up from the setup wizard, episomer::setup(), option 6, Setup social media credentials. They are no longer entered in the configuration page of the Shiny app, which now only displays, for information, which social media are collected