Twitter Authentication : Extracting Tweets : “#MH370″

Twitter App Management Dashbord :

twitter app config

 

Arguments for searchTwitter() :

searchString
Search query to issue to twitter
n
The maximum number of tweets to return
lang
If not NULL, restricts tweets to the given language, given by an ISO 639-1 code
since
If not NULL, restricts tweets to those since the given date. Date is to be formatted as YYYY-MM-DD
until
If not NULL, restricts tweets to those up until the given date. Date is to be formatted as YYYY-MM-DD
locale
If not NULL, will set the locale for the search. As of 03/06/11 only ja is effective, as per the Twitter API
geocode
If not NULL, returns tweets by users located within a given radius of the given latitude/longitude. See * below for more information

* For the geocode argument, the values are given in the format latitude,longitude,radius, where the radius can have either mi (miles) or km (kilometers) as a unit. For examplegeocode='37.781157,-122.39720,1mi'.

sinceID
If not NULL, returns tweets with IDs greater (ie newer) than the specified ID
retryOnRateLimit
If non-zero the search command will block retry up to X times if the rate limit is experienced. This might lead to a much longer run time but the task will eventually complete if the retry count is high enough

Output :

[[1]]
[1] “beritartm: #MH370 Majlis Pelancaran penyertaan GO PHOENIX yang disempurnakan oleh Menteri Pertahanan YB DS Hishamuddin di… http://t.co/Pv4RBE8eav”

[[2]]
[1] “RTM_Malaysia: Dua kru RTM akan menyertai kapal Go Pheonix dan membuat liputan usaha-usaha misi pencarian #MH370 http://t.co/6Nl3SdnXoq”

[[3]]
[1] “lkafle: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[4]]
[1] “fiqomarfiqri112: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[5]]
[1] “infinity10: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[6]]
[1] “nurulainhafizah: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[7]]
[1] “merahza: …all the hype on flight s a f e t y after #MH370 / #MH17 incidents …\nVnukovo plane crash because snowplow… http://t.co/K1uVOvj1Pr”

[[8]]
[1] “EDGARDOGARCIASA: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[9]]
[1] “Cik_nOtty: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[10]]
[1] “dekmalobeng: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[11]]
[1] “mykamarul: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[12]]
[1] “liazakarieya: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[13]]
[1] “ShirleyAnniey: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[14]]
[1] “IlLiFadli: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[15]]
[1] “LissaaAzman: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[16]]
[1] “syufaahusain: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[17]]
[1] “NeesyaIsMe: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[18]]
[1] “wanariefimran: RT @andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[19]]
[1] “andytelasai: 21 Oct 2014, Press Statement by DS Liow Tiong Lai – Search For #MH370 Remains A Priority http://t.co/EH7kY8PKJM”

[[20]]
[1] “z3mms: Still no trace #remember #LOST #MH370 http://t.co/6SKpKr80Zf”

[[21]]
[1] “Mohd_TarmiziJDT: Tak perlu kot nak buat dongeng kata mangsa #MH370 ada makan nasi kat rumah kau lagi separuh hilang dekat VillaNabila , bangang mungkin ?”

[[22]]
[1] “adifikrisahid: Fly little bird fly.. #remembering #mh370 #mh17 #JusticeForMH17Mh370 http://t.co/hNhCKlmHw7″

[[23]]
[1] “vincentdepaul12: Defence Minister Hishammuddinin Perth Oct 22 to await Go Phoenix vessel which has been scouring 7th arc since Oct 6 in search of #MH370.”

[[24]]
[1] “yanALovaSSJ: RT @_sofiaeddy: Apa khabar #MH370 ?”

[[25]]
[1] “_sofiaeddy: Apa khabar #MH370 ?”

[[26]]
[1] “joezainal: Kini…, tiada khabar lagi buat cerita besar negara tercinta. Dimanakah #MH370 itu? #PrayForMH370. #MH17 pula bagai mana kesudahannya?”

[[27]]
[1] “envyno: Painful to watch latest Criminal Minds episode which made reference to #mh370 & #mh17. Hits too close to home”

[[28]]
[1] “AronOsman: Sampai bila nak jumpa #MH370 ni kalau asyik nak bergambor je sebelum main bolo ?”

[[29]]
[1] “merahza: #MH370 is not in the Indian Ocean… http://t.co/ui3zHFLwBq”

[[30]]
[1] “merahza: Malaysias reputation hinges on #MH370, not on UN seat orterrorists http://t.co/r1ibB4cGkU”

[[31]]
[1] “JKWPKLP: Keep on praying…\n#ThankYou\n#MH370 #MH17\n#JKWPKLP http://t.co/ANaoYMyAlC”

[[32]]
[1] “JejariKami: Tragedi berganda yang menimpa Malaysia Airlines (#MAS) berikutan kehilangan pesawat MAS Penerbangan #MH370 dan… http://t.co/cDIWNJeHcX”

[[33]]
[1] “merahza: CIA Plotting Flight #MH370 Bio-Attack During FSU vs. Notre Dame Game on OCT 18,2014 http://t.co/DGEaaxpWoT”

[[34]]
[1] “axmeexra: RT @SarahAdham: Is it me or the Criminal Minds S10E03 episode is just the same as #MH17 and #MH370 cases?”

[[35]]
[1] “camancher2012: \”Everything happens for a very good reason. Trust Allah. We all need to be reminded of this every now and then – #Hadith #MH370 #MH17″

[[36]]
[1] “SarahAdham: Is it me or the Criminal Minds S10E03 episode is just the same as #MH17 and #MH370 cases?”

[[37]]
[1] “siti_aesya: Orang-orang yang dilaknat di dalam Al-Quran dan hadis http://t.co/vWXIg7Rk3W #Bajet2015 #Hudud #HumanRights #MH370 #Quran #Sederhana”

[[38]]
[1] “vsdawson_MUFC: Pics… Left behind: Mourning the missing of Flight #MH370 http://t.co/JGqsTIczvZ via @BostonGlobe”

[[39]]
[1] “QarnineSalim: Teringat #MH370 #KeepPrayForMH370 #KeepRememberMH370 AL-FATIHAH”

[[40]]
[1] “JejariKami: #PrayForMH370 – No sign yet of #MH370 in first update of underwater search. #MAS http://t.co/U0YY6FgNID”

[[41]]
[1] “Skrillalex: Lecturer came for 9am class and disappeared at 9.05am. What if she doesn’t come back? #MH370″

[[42]]
[1] “farhanaabghafar: Tak pernah lupa untuk #MH370 … Masih mengharap ada berita baik walaupun mustahil :)”

[[43]]
[1] “fmtoday: Kiwi widow rejects #MH370 compensation http://t.co/St7Bky6n5w”

[[44]]
[1] “inas42: Where IS #mh370? Dlu menung fikir pasal hdup aku. Skrg aku dok pk.. Really.. Mana #mh370… Smpai skrg no sign of it. Pelik..”

[[45]]
[1] “dnadarurat: No sign yet of #MH370 in first update of underwater search http://t.co/PTfUPOoc1e http://t.co/NIETwIPzdc”

[[46]]
[1] “mfazliazran: Berkulat nak translate bahasa Rusia nie … related to #MH370 http://t.co/h5PGKa8Y4a”

[[47]]
[1] “Rayyanharies: We will never forget #MH17 and #mh370 – you are loved, remembered and prayed for. Rest in peace. @ http://t.co/cg68TjHLe4″

[[48]]
[1] “merahza: #MH370 d i d N O T c r a s h\n…opinion seems to be based most directly on the dearth of evidence.\n\nRead more… http://t.co/bMk95ArWre”

[[49]]
[1] “merahza: p r a y f o r #MH370\n\nEwan Wilson [ convicted of f r a u d ] believes the pilot of the doomed aircraft,… http://t.co/2bVLaqTRYs”

References : RPubs, inside-r

Submit a comment