A First Program using R and TwitteR to Collect someone's Tweets

  Рет қаралды 11,014

James Cook

James Cook

Күн бұрын

This video is not for the expert but for the absolute beginner in social media data mining. How easy is it to get started? Just install R, install the R package twitteR, get yourself some Twitter api keys (see my video channel on this), write this handy little program that's just a few lines long, and you're all set to go! Don't worry at this starting point about understanding every last line in the code you write. Just get started, get some practice underneath your feet, and you'll learn, learn, learn as you go. This video was shot for the University of Maine at Augusta program in Social Science.

Пікірлер: 31
@groaningupright
@groaningupright 3 жыл бұрын
Another winner! I am now able to use Leximancer to compare company profiles on multiple social media platforms. Keep up the great work!
@munashemukundi4600
@munashemukundi4600 2 жыл бұрын
Thank you Sir I enjoyed your video and I like the way you teach, you make learning fun
@iamthejustin7420
@iamthejustin7420 5 жыл бұрын
Thanks man, you are a god :D Woohoo! I passed mmy project.
@migueldaviddavilapalomino3270
@migueldaviddavilapalomino3270 6 жыл бұрын
thanks for your videos, they are very helpful! (Im a junior research in Peru :) )
@anilshrey
@anilshrey 7 жыл бұрын
hello sir ,I m getting error while running a code setup_twitter_oauth.Error is check Twitter Authorization, OAuth authentication error. Sir can u just help me out.
@diegoscogliesi4819
@diegoscogliesi4819 5 жыл бұрын
Hi thanks a lot for the video it really helped me out. Just one question. If the Text of the Tweet is a bit longer it doesn´t show the full text on Excel. Is there any possibility to change that?
@fratcamlca5135
@fratcamlca5135 Жыл бұрын
Hey James! Thanks for video a lot... But I am using a MAC and I cannot find the document after write(TrialPDF, file.timeline) command. do you think how can I get ? Thank you so much..
@JamesCookUMA
@JamesCookUMA Жыл бұрын
Hi, firat. You should look in your R settings to see where you have set your "working directory" -- that's where your files should be saving.
@meganschwarz8818
@meganschwarz8818 4 жыл бұрын
Great video! Quick question about an error message I am receiving. This message "Enter an item from the menu, or 0 to exit" is popping up after each line. Not sure how to fix this and would appreciate your help! Thanks!
@timding6241
@timding6241 Жыл бұрын
May I ask how I can extract English tweets only? I saw an answer from stackoverflow that we can use the search_tweets() function. ( the example given is: Uber
@mohammadismaylalmasud5399
@mohammadismaylalmasud5399 Жыл бұрын
Thanks for the tutorial. Is it possible to gather all the tweets on a certain hashtag instead of setting n=1000 or a certain number? For example, If I want to collect all the historical tweets on a hashtag like ''climate change'', where should I make a change in the script?
@JamesCookUMA
@JamesCookUMA Жыл бұрын
Thanks for writing. All going back in time would be a lot, and would tax Twitter’s resources. For that reason (and probably some others) access is limited through the API. But visit developer.twitter.com/en/use-cases/do-research/academic-research and poke around; Twitter has introduced tiers of access for different purposes.
@pinakikkkm
@pinakikkkm Жыл бұрын
Great video! Thanks a lot. I have one question. How to pull tweets between particular dates?
@JamesCookUMA
@JamesCookUMA Жыл бұрын
This was possible... but unfortunately, Twitter has restricted API access as of this Spring to those who are willing to pay $42,000 a month at a minimum. For folks like you and me, this makes systematic Twitter research impossible now.
@atelesteles4022
@atelesteles4022 6 жыл бұрын
Hi , about Long and Lat how i can this information??? i try geocode but not search...
@wendyspear
@wendyspear 7 жыл бұрын
How do you extract Twitter data from multiple users simultaneously. I tried using a vector of the account names (e.g. c("user1", "user2", "user3")) but it does not run.
@sharnadas7539
@sharnadas7539 5 жыл бұрын
can you please tell me what does this"Error in twInterfaceObj$doAPICall(cmd, params, method, ...) : Not Found (HTTP 404)." mean?? all my csv file values are kept coming same as th first csv file.
@ot8468
@ot8468 5 ай бұрын
me too. do you find solution for that?
@kelechimatthias946
@kelechimatthias946 3 жыл бұрын
Hi this was really useful, unfortunately on connecting to my Twitter account it connected to a different account and now I'm not sure how to unlink it so I can create a new token. I know it's not the right account matched as the API key doesn't match at all - please could you give me some advice, the internet isn't being too helpful
@JamesCookUMA
@JamesCookUMA 3 жыл бұрын
Hi. Unfortunately, I'm not an inside expert on Twitter's administration of the API -- this can and does change frequently at Twitter's whim. The best thing to do would be to go to developer.twitter.com and to consult their help directly.
@popayed
@popayed 7 жыл бұрын
İ have question. What are the limits of twitters api. How many tweet can we take?
@JamesCookUMA
@JamesCookUMA 7 жыл бұрын
Howdy. Twitter has a simple, readable list here: dev.twitter.com/rest/public/rate-limits . Turns out that for the command we're using in an app, the limit is... [go look!]. :)
@arseniocuenca7072
@arseniocuenca7072 3 жыл бұрын
Don't forget to convert the CSV file into Excel to avoid the coma separation. kzbin.info/www/bejne/sGazqZyiac-JhZY
@jonathanpearl1687
@jonathanpearl1687 Жыл бұрын
I keep getting a 403 error
@JamesCookUMA
@JamesCookUMA Жыл бұрын
Hi, Jonathan. Unfortunately, Twitter is restricting API access to those who are willing to pay $42,000 a month at a minimum.
@abdirizakbarkhadle6371
@abdirizakbarkhadle6371 7 жыл бұрын
my name is abdirizak can you explain spss data analyzis
@ot8468
@ot8468 5 ай бұрын
I got Error: Error in twInterfaceObj$doAPICall(cmd, params, method, ...) : Forbidden (HTTP 403). after compiling: account.timeline.
@JamesCookUMA
@JamesCookUMA 5 ай бұрын
Hi. Unfortunately, since this video, there have been multiple changes to the Twitter API.
@martinarriola208
@martinarriola208 2 ай бұрын
Hi, thanks for the video. how to fix this error "Error in twInterfaceObj$doAPICall(cmd, params, method, ...) : Forbidden (HTTP 403).!
@JamesCookUMA
@JamesCookUMA 2 ай бұрын
Martin, unfortunately, this represents a rejection of the script in Twitter's API interface: the last 7 years have had a lot of changes in Twitter's architecture, which is why the script no longer functions.
@bbbbraveheart
@bbbbraveheart 11 ай бұрын
😭Error in check_twitter_oauth() : OAuth authentication error: This most likely means that you have incorrectly called setup_twitter_oauth()'
Social Media Data Mining with Raspberry Pi (Part 9: Custom Input)
23:05
Academic Research with the Twitter API v2
1:00:50
Summer Institute in Computational Social Science
Рет қаралды 3,8 М.
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 15 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 125 МЛН
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17
Text analysis / mining in R - how to plot word-graphs
25:38
Tom Henry - data science with R
Рет қаралды 29 М.
How to Download and Analyze Twitter and Facebook Data
1:00:07
Social Identity and Morality Lab
Рет қаралды 8 М.
How to perform text analytics in R on Multiple PDF Documents
14:11
Data Centric Inc.
Рет қаралды 14 М.
Intro to Twitter Scraping in R with the rtweet package
13:16
Aaron Mamula - NOAA Federal
Рет қаралды 8 М.
Social Network Analysis of Tweets Using R | Application Example
22:39
Dr. Bharatendra Rai
Рет қаралды 11 М.
Topic modeling with R and tidy data principles
26:21
Julia Silge
Рет қаралды 61 М.
How-to Use The Reddit API in Python
23:21
James Briggs
Рет қаралды 54 М.
Uncovering Meaning in Twitter Networks Using NodeXL Pro
26:54
James Cook
Рет қаралды 10 М.
GIANT Gummy Worm Pt.6 #shorts
00:46
Mr DegrEE
Рет қаралды 15 МЛН