TC2.21 - IOT Applications with Social Media Actions, and cultural scenarious

Test Case Title

TC2.21 - IOT Applications with Social Media Actions, and cultural scenarious

Goal

I can:

Create cultural and social scenarious

Get information of a twitter channel to Twitter Vigilance

Use this information as a microservice

The following functionalities are available only for specific Snap4city users with specific privileges.

Prerequisites

Using a PC or Mobile with a web browser.

Simple skill on use Blocks on Nodered.

Expected successful result

Obtain information about the desired channel, exploiting social media data.

Steps

 

 

Snap4City allows setting up in connection of my IOT Application and Dashboard:

  • social scenarios such as:
    • the users may share their personal data regarding position, intention, glucose, movements, etc. to their (i) friends to meet each other in the downtown, (ii) parents to be safer, (iii) doctor to be controlled, etc.
    • leaving MyAnnotation about POI regarding discomfort of the service or appreciation, sharing with other people or making public
    • creation of an IOT Application monitoring an area, a Garden, a school, a parking lot, etc., and making publicly accessible the related Dashboard.
      • Eventually posting on Twitter/Facebook in the case of  critical conditions
      • Accepting some registration on a form and posting Telegram to subscribers.
    • Collecting opinions about a city are for restoring and changing its usage, reopening a shops, painting / restoring a bench, etc.
    • Collecting alerts regarding critical and/or emergency conditions in which a number of people are involved in a given area/position
  • cultural scenarios such as:
    • living a geolocated comment on MyAnnotation or on MyPersonalData regarding the appreciation of an event, sharing comment with public or community
    • collecting data regarding specific POIs and publishing this data on DataGate to share with the whole city and community
    • creation of an IOT Application monitoring a cultural aspect of the city and making publicly accessible the information on a related Dashboard,
      • Eventually posting on Twitter/Facebook in the case of  critical conditions
      • Accepting some registration on a form and posting Telegram to subscribers.

The solution may send to the city users: suggestions, hints, and notifications on the basis of their preferences, profiles, habits, etc., thus stimulating virtuous behaviour in the city.  (see paper [engagement])

  1. With the microservices you can request information through the API Twitter Vigilance on channels that are monitored by this tool. In the picture below you can see the channels that are monitored daily by Twitter Vigilance: Https://www.disit.org/tv  or Https://www.disit.org/rttv

  1. Currently two microservices have been developed that can read some information from Twitter Vigilance. Drag and drop the nodes“twitter-last-channel” and “twitter-last-tweet” under the menu S4CSocialMedia:

  1. The first node returns a list with details of the 5 most recent tweets that have been collected in the Twitter Vigilance RT Channel. The second node retrieves the number of tweet and retweet counts, as well as the date to which the counts are related, for the Twitter Vigilance RT Channel.
  2. The results of such microservices can for example be sent to a panel on a dashboard to monitor a particular channel to see if something abnormal is happening about the channel being controlled (environmental disaster, accidents, etc.).
  3. The configuration tab of “twitter-last-channel” can be filled like this:

  1. And return a response with this information

  1. The configuration tab of “twitter-last-tweet” can be filled like this:

  1. With the usual password of the user snap4city and return a response with this information