- Bağlantıyı al
- X
- E-posta
- Diğer Uygulamalar
- Bağlantıyı al
- X
- E-posta
- Diğer Uygulamalar
https://www.rdocumentation.org/packages/twitteR/versions/1.1.9
- Create a Twitter application at http://dev.twitter.com. Make sure to give the app read, write and direct message authority.
- Take note of the following values from the Twitter app page: "API key", "API secret", "Access token", and "Access token secret".
- You can use the CRAN version (stable) via the standard
install.packages("twitteR")or use the github version. To do the latter: install.packages(c("devtools", "rjson", "bit64", "httr"))- Make sure to restart your R session at this point
library(devtools)install_github("geoffjentry/twitteR")- Burada
Peer certificate cannot be authenticated” hatası alırsanız
library(httr)
set_config(config(ssl_verifypeer = 0L))
library(httr)set_config(config(ssl_verifypeer = 0L))
- At this point you should have
twitteRinstalled and can proceed:library(twitteR)setup_twitter_oauth("API key", "API secret","Access token","Access token secret")- You should be ready to go!
retweets("1007726736686112768")
st = showStatus("1007726736686112768")
retweeters(st$getId())
library(twitteR) > setup_twitter_oauth("LwQhp7oM5A3Bt2tlBWH2J6Q0x", "taxVfat7kiIVlepXil6Mb9kJkwX1WMpXuT3muthlHJQU5y6dHT", "708485887-bVTHIirm73B2rUPX56zmJvjaSMCVhWbooNhkORPh", "pd37zwDremRuxZVGRRlbiOBfoSMWLKyfiYcfOa9x3KfDu")
- Bağlantıyı al
- X
- E-posta
- Diğer Uygulamalar

Yorumlar
Yorum Gönder