Introducción

Vamos a cargar las librerías que vamos a utilizar

Procedemos a conectar con Twitter a través de su API

Una vez conectados, procedemos a leer las cuentas.

Búsqueda de mensajes

#
follow=c("deleETSII_UPM","daetsam","Delegacion_UPM","datopo_upm",
         "dat_etsit","daetsiinf","daetsia","daetsime",
         "dalumETSISI","DA_ETSIDI","DelegacionETSIC",
         "DelegacionETSIN","DelegacionETSEM","dalum_etsist",
         "DAgronomos","DAForestales","Delegacion_ICCP")
u=getUser(follow[1])
location(u)
## [1] "Madrid"
followersID=u$getFollowers(retryOnRateLimit=18)
df_fID=rbindlist(lapply(followersID,as.data.frame))
head(df_fID)
##                                                                                                                                              description
## 1:                                                                                              Futuro ingeniero químico. Estudiando en la ETSIDI (UPM).
## 2:                                                                                                                    Mi objetivo es ser mejor cada día.
## 3:                                                                   Información que te puede interesar para las diferentes facetas y etapas de tu vida.
## 4: 98' Jugador de Baloncesto. 7. #HALAMADRID. ~ESPAÑA~. 'Levantate, Respira, sonrie y sigue adelante. Si luchas por lo quieres tarde o temprano llegará'
## 5:                                                                                                                                                      
## 6:                                                                             Una nota vale más que mil palabras                            Energía UPM
##    statusesCount followersCount favoritesCount friendsCount
## 1:          2709            106              8          386
## 2:           250             43              8           29
## 3:        275046          17014           4816        11309
## 4:          1190            176            279          329
## 5:             0              2              0           28
## 6:          9353            276           4043          292
##                        url                 name             created
## 1:                      NA        Sergio Gracia 2011-12-08 16:06:15
## 2:                      NA Sergio López Sánchez 2010-09-02 14:36:34
## 3: https://t.co/qoFOtninGd              Vivamos 2015-11-24 20:35:23
## 4: https://t.co/RsrfQjRawi    Pablo Glez García 2013-04-14 16:16:43
## 5:                      NA     TecnoEnElDiaADia 2016-09-20 20:18:30
## 6:                      NA                Amaya 2013-01-12 20:24:09
##    protected verified      screenName                   location lang
## 1:     FALSE    FALSE sergiogracia007                              es
## 2:      TRUE    FALSE  sergiolopezsan San Sebastián de los Reyes   es
## 3:     FALSE    FALSE       VivamosGM                     México   es
## 4:     FALSE    FALSE     pablo_glez7                              es
## 5:     FALSE    FALSE  Tecno_EnDiaDia                              es
## 6:     FALSE    FALSE       _Amayaaaa                     Madrid   es
##                    id listedCount followRequestSent
## 1:          431707747           1             FALSE
## 2:          186071798           0             FALSE
## 3:         4267188135         202             FALSE
## 4:         1352233603           1             FALSE
## 5: 778327495967961088           0             FALSE
## 6:         1084025466           4             FALSE
##                                                               profileImageUrl
## 1: http://pbs.twimg.com/profile_images/771846519028940801/vKjFNkDS_normal.jpg
## 2: http://pbs.twimg.com/profile_images/767050481730478081/pqYjyf-M_normal.jpg
## 3: http://pbs.twimg.com/profile_images/677868742668361728/Gq9QPR5d_normal.png
## 4: http://pbs.twimg.com/profile_images/703691589353345025/7PO8QJVI_normal.jpg
## 5: http://pbs.twimg.com/profile_images/778331518208974848/ogsSqn4P_normal.jpg
## 6: http://pbs.twimg.com/profile_images/651897133939978240/3M5cG7eE_normal.jpg
#