R - Twitter Mining with R (part 1)

  Рет қаралды 76,992

Jalayer Academy

Jalayer Academy

Күн бұрын

Twitter Mining with R part 1 takes you through setting up a connection with Twitter. This requires a couple packages you will need to install, and creating a Twitter application, which needs to be authorized in R before you can access tweets. We quickly go through this entire process which may take some flexibility on your part so be patient and be ready troubleshoot as details change with updates.
Warning: You are going to face challenges setting up the twitter API connection. The steps for this part have been known to change slightly over time for a variety of reasons. Follow the general steps and expect a few errors along the way which you will have to troubleshoot. It is hard to solve these issues remotely from where I am.

Пікірлер: 113
@chelseasamsung
@chelseasamsung 4 жыл бұрын
Thank you. I did not solve handshake problem for 4 hours and now I can see Tweets. You are better than my professor lol
@mgcains
@mgcains 8 жыл бұрын
Excellent guide. Within the course of 20 minutes I was up and running. Thanks for the video.
@samirtahan7705
@samirtahan7705 8 жыл бұрын
hi could you please help me! i am getting an error installing the packages? any advice?
@wdmcdonough
@wdmcdonough 7 жыл бұрын
install.packages("twitteR"), not install.package
@ralphbates3872
@ralphbates3872 8 жыл бұрын
This was great thanks Jalayer Academy. Got even better when I found out you are a Liverpool Fan. Thanks Again
@Moonteeth45
@Moonteeth45 8 жыл бұрын
Im watching ur video to try to do my undergraduate program. it is awesome! thank you so much
@silusvilus6544
@silusvilus6544 6 жыл бұрын
Jalayer Academy, thanks so much for this. Really excited about the next steps.
@flamboyantperson5936
@flamboyantperson5936 6 жыл бұрын
Best video on Twitter analytics. Thanks a lot.
@jensrombouts
@jensrombouts 9 жыл бұрын
I'm new to R and this helped me a lot, very good video; thanks!
@pauloalessander4165
@pauloalessander4165 6 жыл бұрын
Nice video, you have helped me very much with the setting of API and to integrate in RGUI! Thanks
@leocurtolo5059
@leocurtolo5059 9 жыл бұрын
congratulations man, you do an excelent work here in this channel!
@archowdhury007
@archowdhury007 8 жыл бұрын
Excellent!. Thanks a lot for sharing these details, very helpful.
@h3llbouy
@h3llbouy 9 жыл бұрын
Thanks alot for the video, I was literally stuck on this for hours! all cause of the missing 'RCurl'. Thanks a lot again!! Super Like (y). Keep up the good work.
@danielayalaquispe8755
@danielayalaquispe8755 8 жыл бұрын
After your video I had a great day haha. Thanks bro. You are awesome!!
@painterabc123
@painterabc123 8 жыл бұрын
Very helpful video tutorial. You make it look easy. Question: Have you posted your code to Github or a website? Thanks. Cheers.
@bruce124421
@bruce124421 8 жыл бұрын
Thanks for the upload,found real useful.
@krishnakanth7493
@krishnakanth7493 9 жыл бұрын
Wow, this video is great. Thanks for your help and good efforts.
@simonboyle2338
@simonboyle2338 8 жыл бұрын
Fantastic... Just the info I needed.
@muslumcanpolat259
@muslumcanpolat259 7 жыл бұрын
tivitir
@techsmart-v1
@techsmart-v1 9 жыл бұрын
Thank you so much. You helped me solve a challenge easily. Thank you. I subscribed.
@freespirit1054
@freespirit1054 9 жыл бұрын
Thank you this helped me a lot!
@robertobaldizon8206
@robertobaldizon8206 9 жыл бұрын
Very nice video. Thanks.
9 жыл бұрын
By following the steps here (including the API setup process) i get this error message: Error in check_twitter_oauth(): OAuth authentication error: This is most likely means you have incorrectly called setup_twitter_oauth()' In addition: Warning message: S3 method 'print.form_file' was decared in NAMESPACE but not found Please, help!!!!
@martinl2603
@martinl2603 8 жыл бұрын
Hi, thanks for the very good videos. However, I have used this code to search recent tweets : himearth
@colteryoung889
@colteryoung889 5 жыл бұрын
you're the man!!
@stutisoni9759
@stutisoni9759 9 жыл бұрын
hello i am not able to find R editor from where you copy all consumer keys and token.please reply as soon as possible.
@surajharadagatti4411
@surajharadagatti4411 9 жыл бұрын
dude you made my day(LFC Fan) YNWA...
@AlejandraAracri
@AlejandraAracri 7 жыл бұрын
Thank you very much! I have a succefull start!!
@jennysnape2682
@jennysnape2682 7 жыл бұрын
So helpful thank you !
@himanshushekharsrivastavaf2066
@himanshushekharsrivastavaf2066 5 жыл бұрын
Is it possible to export tweets in text form
@vikasraina1396
@vikasraina1396 9 жыл бұрын
i have followed the steps mentioned in the video,but i am getting an error message as Error: could not find function "setup_twitter_oauth"
@vivekmangipudi3773
@vivekmangipudi3773 9 жыл бұрын
vikas raina Ensure that you have "twitteR" "tm" "RCurl" "httr" packages installed and loaded. setup_twitter_oauth" happens to be a part of the first package. Hope that helps!!
@priyankaasthana9158
@priyankaasthana9158 8 жыл бұрын
Error in check_twitter_oauth() : OAuth authentication error: This most likely means that you have incorrectly called setup_twitter_oauth()' how to remove this error
@umangarora2067
@umangarora2067 4 жыл бұрын
package ‘twitterR’ is not available (for R version 4.0.0)
@samirtahan7705
@samirtahan7705 8 жыл бұрын
Hi i am using this for my dissertation! I am really new to this and have followed the first steps but it is saying that the function "install.package" could not be found! any advice?!
@rakeshramesh9248
@rakeshramesh9248 6 жыл бұрын
for me it freezes in using direct authentication it does not go past that. pls help
@luispoveda4366
@luispoveda4366 9 жыл бұрын
Muy buen video, muchas gracias.
@sobo5476
@sobo5476 9 жыл бұрын
Thanks only thing I found different was when installing the packages rather than typing install.package you would go to packages at the top of R and select Install Packages and find it it in the list.
@jemlifathi
@jemlifathi 9 жыл бұрын
hi, please wich version of R you are using ? because i got this : >install.packages("twitterR") Warning in install.packages : package ‘twitterR’ is not available (for R version 3.0.0) the same error even using R 3.1.2
@pranavsuri
@pranavsuri 9 жыл бұрын
+Jemli Fathi The name of the package is 'twitteR' (you added 2 Rs in the end).
@wandering_Soul1111
@wandering_Soul1111 9 жыл бұрын
Nice video, but how can I get the number of tweets that mentioned a word "X", without retrieving the tweets?
@rdjalayer
@rdjalayer 9 жыл бұрын
Hana Anber check the help file for searchTwitter, help(searchTwitter), from what I understand you do not have access to all tweets on twitter, so this may not be the way to achieve what you what.
@wandering_Soul1111
@wandering_Soul1111 9 жыл бұрын
Jalayer Academy Thank you
@riccardocolnaghi6555
@riccardocolnaghi6555 7 жыл бұрын
How can I select tweets of a specific range of time? For instance tweets for LFC from Genuary 2014 till December 2016. Is that possible? Thank you very much!
@mohitgarg5509
@mohitgarg5509 5 жыл бұрын
Thank you for the wonderful lecture... I am facing one problem.. I am not able to download all tweets.. I am doing this tweet_data
@adewolekayode6148
@adewolekayode6148 9 жыл бұрын
Error: package 'twitterR' is not available (for version 3.0.2). Please what is the solution?
@techsmart-v1
@techsmart-v1 9 жыл бұрын
Hi. i'm having this error message: Adding .httr-oauth to .gitignore Error in check_twitter_oauth() : OAuth authentication error: This most likely means that you have incorrectly called setup_twitter_oauth()' at the selection aspect when I selected 1. What do I do.
@TheTimelessFate
@TheTimelessFate 9 жыл бұрын
nosakhare osaigbovo @Jalayer Academy : Same issue !! What do we do :(
@rdjalayer
@rdjalayer 9 жыл бұрын
Rahul Chawla getting this authorization seems to be the biggest hurdle, there are many complications that may be occurring, be sure to setup the twitter API before doing any of this and getting the codes necessary
@techsmart-v1
@techsmart-v1 9 жыл бұрын
Thank you. I spoke to a someone from a university and he said twitter updates their API regularly and also their are restrictions on the use of tweets presently. Anyways, thank you so much.
@vizline
@vizline 9 жыл бұрын
nosakhare osaigbovo I finally solved this problem. There has been an update of package httr - that makes this command end with error. You have to uninstall the httr package, install the 0.6 version (cran.r-project.org/src/contrib/Archive/httr/), restart RStudio... and everything will be working then!
@lukethegreat101
@lukethegreat101 9 жыл бұрын
+vizline If I could virtually hug you, I would. THANK YOU!!!!
@edorlando7070
@edorlando7070 9 жыл бұрын
In the following code, we are converting the list into a vector. However, we are only getting one column of information, in this case, the getText portion. How would i set this up to get multiple columns, for example, getScreenName, getId, etc. #Converts list to vector. In Other words, it only gets the Text #portion of the tweets for each of the rows LFC_text
@zkcbnwmh2641
@zkcbnwmh2641 7 жыл бұрын
Hi, I was trying to collect all tweets without any keyword or hashtag and later will I classify all the tweets. Is it possible to do it in R? I was told that we can use the star sign * for the searchString to collect all tweets within specific limit. So I used the command rtwt rtwt
@Fitrifitri-hq8yi
@Fitrifitri-hq8yi 7 жыл бұрын
1. when a Twitter user post tweet longer than 140, can R obtain them in full or just the 140 character? 2. can I use R for obtaining a tweet's quote tweet? thanks for the reply.
@annaegosz9481
@annaegosz9481 6 жыл бұрын
hi! Have you found an answer for question 1? I would be pleased if you could tell me how to extract tweets longer than 140.
@RedWarrior1991
@RedWarrior1991 9 жыл бұрын
Thank you so much!
@roroba
@roroba 8 жыл бұрын
HI! great video! how can i make restriction in the search twitter by location or country??
@sailakshmithugutla8621
@sailakshmithugutla8621 7 жыл бұрын
how solve setup_twitter_oauth() error,please help tying a lot but i am unable to correct it
@abhi09sat
@abhi09sat 9 жыл бұрын
Excellent Video, Thank you @Jalayer Academy I am getting this error on rStudio 3.2.2 LFS_tweets = searchTwitter("LFS", n= 10, lang = "en") Error in loadNamespace(name) : there is no package called ‘base64enc’ please help
@roderik27182
@roderik27182 9 жыл бұрын
i have this error: Error: couldn't find function "setup_twitter_oauth". Could you help me?
@ChelseaPhonix
@ChelseaPhonix 7 жыл бұрын
I found just regenerate the tokens from website, autentication issue solved for me.
@distractos
@distractos 7 жыл бұрын
I fixed the "Error in check_twitter_oauth() : OAuth authentication error: This most likely means that you have incorrectly called setup_twitter_oauth()' So what happened was after i installed the base64enc, twitteR, devtools, and RCurl, and required them, i was still having problems with this error. Turns out, there was a hyphen on my Access Token that i removed thinking that twitter added that to save space. Thats not the case, it is REQUIRED!!! So once i added the hyphen, it worked perfectly!
@jonathanaguirre7846
@jonathanaguirre7846 8 жыл бұрын
thanks for the video. I had tried this with jsonlite/httr and I got a dimensions error. I'm new to R so google brought me here.
@Rishabhhhhhhhhhh
@Rishabhhhhhhhhhh 5 жыл бұрын
cred$handshake(cainfo="cacert.pem") Error in function (type, msg, asError = TRUE) : Unknown SSL protocol error in connection to api.twitter.com:443 I am getting this error.Can u plz tell to way to solve it?
@jvikram
@jvikram 5 жыл бұрын
i am having same issue :( did u git any solution ?
@priyanka9672
@priyanka9672 9 жыл бұрын
> LFC_tweets
@keshav567
@keshav567 8 жыл бұрын
amazinggggggg!!!!!
@Sankalp254
@Sankalp254 7 жыл бұрын
how can i get twitter data set
@CLINTJOHNYJOSEPH
@CLINTJOHNYJOSEPH 6 жыл бұрын
does this still work???
@jpugel55
@jpugel55 6 жыл бұрын
I don't think so. I've been having trouble finding a workaround for the setup_twitter_oauth command today (9/2/18), same as other people in this comment section.
8 жыл бұрын
Thanks
@singhsoreb2079
@singhsoreb2079 9 жыл бұрын
Awesome
@sharvilturbadkar3732
@sharvilturbadkar3732 8 жыл бұрын
ynwa bro
@rdjalayer
@rdjalayer 9 жыл бұрын
@Strider000p
@Strider000p 9 жыл бұрын
love u
@eiteltala6251
@eiteltala6251 7 жыл бұрын
cool
@henryhsu9517
@henryhsu9517 6 жыл бұрын
Should be install.packages("XXXXX...")
@palakbaid5634
@palakbaid5634 5 жыл бұрын
Error in check_twitter_oauth() : OAuth authentication error: This most likely means that you have incorrectly called setup_twitter_oauth()' How to resolve this error ?
R - Twitter Mining with R (part 2) create WordCloud from Tweets
16:19
Jalayer Academy
Рет қаралды 55 М.
Text Mining (part 1)  -  Import Text into R (single document)
6:46
Jalayer Academy
Рет қаралды 41 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Text Mining in R Tutorial: Term Frequency & Word Clouds
10:23
Getting Tweets, Trends, and User Timeline from Twitter using R
8:57
Dr. Bharatendra Rai
Рет қаралды 45 М.
Introduction to Text Analytics with R Part 1 | Overview
30:38
Data Science Dojo
Рет қаралды 153 М.
Twitter Sentiment Analysis
7:45
Michael Herman
Рет қаралды 67 М.