Skip to content
CATS-Project edited this page Sep 1, 2015 · 74 revisions

Welcome to the CATS wiki! This wiki will give you all the information you need to be able to use CATS to carry out your own projects. Several sections will guide you through the different aspects of CATS, so that you can have detailed information concerning all the tools which are available to you in CATS. This wiki will be updated regularly, but some elements may be missing or unclear, so do not hesitate to contact us if you have questions regarding any aspects of CATS.

What is CATS?

CATS is a web interface hosted in the university of Lyon 2, in France. It is free to use, open, and accessible by anyone. Its goal is to provide researchers from various domains to easily have access to Twitter's API to collect and analyze data for their own studies.

In the past few years, there has been a growing interest in analyzing Twitter data for various purposes (marketing, medicine, social sciences, linguistics etc...). Accessing Twitter's API makes it possible for everyone to collect very specific corpora targeting a certain category of people, a certain region, or a certain language. As Twitter is a very popular social media, this represents a good way to have access to textual data from millions of users.

The problem with this method is that in order to have access to Twitter's API, and especially to collect a corpus with various filters (geolocation, keywords etc...), the programming knowledge required can be an obstacle to people who do not have that background. Moreover, we felt that the existing tools enabling to connect to Twitter's API were either not adapted to everyone, or too limited. Thus, the goal of CATS is to bridge that gap, and enable everyone to take advantage of this material, by providing an interface enabling to both collect, and analyze the tweets thanks to the ready-made tools that CATS provides.

The advantage of CATS is that everything is web-based, meaning that the only thing needed to use it is an Internet connection; the performance of your computer will not be a problem. The other advantage is that the interface is not fixed, and will evolve with time in order to provide new features that will suit a greater number of people.

CATS is meant to evolve with time. It will be regularly updated with the latest corpus analysis tools developed by the teams involved in the project. However, as nothing is perfect, CATS may not (yet) necessarily suit your needs, or may not enable you to do everything you would like to. Remember that it is just supposed to be a tool, and not an "all-in-one" solution. Thus, if you have questions regarding certain functions that you would like to see, feel free to contact us, as other people may be interested in it too, so the solution to your problem may be the solution to many people's problems. Again, the goal of CATS is to help as many people as possible, and raising questions or problems is the best way to improve it!

How to use CATS?

The essence of CATS is to be easy to use (and it really is!), however there are certain steps you need to perform before actually being able to use it. Indeed, connecting to Twitter's API requires you to have specific credentials provided by Twitter. The goal of this section is first to teach you how to get those credentials. Then, there are two main ways you can use CATS: as a ****** or as a ******. Each method has its own advantages and disadvantages, and you need to be aware of those before deciding which method you are going to use, and we will review them in this section as well. Finally, we will explain the different collection methods, and analysis tools at your disposal so that you can understand how to use CATS in the most appropriate way according to your own needs.

Getting your Twitter OAuth IDs

Before using CATS to collect tweets through Twitter's API, you must be able to connect to it with specific access tokens with which you will be able to use OAuth. OAuth is an authentication protocol that allows users to approve application to act on their behalf without sharing their password (for more information concerning the exact way in which OAuth works, feel free to visit http://oauth.net/).

So, to get your own access tokens, you first have to have a Twitter account. If you don't have a Twitter account, you can create one here:

https://twitter.com/signup

Once you logged-in to your (newly created) Twitter account, the next thing you have to do is to create an application on the Twitter Developer Site at https://dev.twitter.com/apps. Once it is created, in your new application's options, you should see a tab called "Key and Access Tokens", on which you will see your "Consumer Key", and your "Consumer Secret"; these are the access tokens you will need to connect to Twitter's API with CATS. Keep them a secret, they should never be made publicly available.

Self-hosted (à revoir) CATS

Lyon 2 hosted (à revoir) CATS

Collection interface

Analysis interface

Want to contribute to CATS ?

Publications

Clone this wiki locally