Skip to content

Project 1: Who consumes the tweet stream and historic tweet sentiment analysis? #12

@phdowling

Description

@phdowling

Hey @gyachdav and @sacdallago ,

We implemented the live streamed sentiment analysis, users can request (via websockets) twitter streams by location and pokemon name. However, we are not sure what project should actually use this data in the frontend - is this also for the @PokemonGoers/pokemap-1 and @PokemonGoers/pokemap-2 teams, or maybe @PokemonGoers/catch-em-all ? In the same vein, who is consuming the output from our historic tweet sentiment analysis project ?

Example client code for the twitter stream:

var socket = io('http://localhost:8888/sentiment');
socket.on("connect", function(){
    socket.emit("settings",
            {
                mode: "geo", // or "all" for no specific location but getting all tweets
                lat: 1, lon:1, radius: 50000000, 
                pokemonName: "Abra" // or leave out for getting all pokemon-related tweets
            }
    );
});

socket.on("tweet", function (data){
    console.log(data);
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions