Skip to content

Instantly share code, notes, and snippets.

@MarkEdmondson1234
Last active Feb 24, 2020
Embed
What would you like to do?
Authenticate a Twitter app in R
# Refer to https://rtweet.info/
@PoojaBabu

This comment has been minimized.

Copy link

@PoojaBabu PoojaBabu commented Mar 28, 2017

I executed the R script, the R console directed me to the twitter page to authorize my app, but instead of getting a PIN I got automatically redirected by Twitter to the web page I provided in the Twitter app. I tried it several times, I get no errors but also no PIN for R Studio.

@nithin7vnnr

This comment has been minimized.

Copy link

@nithin7vnnr nithin7vnnr commented Feb 14, 2018

have u got any solutions to ur above problem

@palakbaid95

This comment has been minimized.

Copy link

@palakbaid95 palakbaid95 commented Feb 24, 2020

After executing the last statement TwitterOAuth(), it is still giving similar error -
Error in function (type, msg, asError = TRUE) :
Unknown SSL protocol error in connection to api.twitter.com:443

I searched many forums and tried all those solutions but still it is not working.
I tried the following solutions to eliminate this issue :

  1. Checked the firewall status and have allowed R Studio and R session to access the network.
  2. Used library(installr), library(ROAuth), library(stringr).
  3. Reinstalled packages - twitteR, streamR

Need help to resolve this issue.
Thanks in advance :)

@MarkEdmondson1234

This comment has been minimized.

Copy link
Owner Author

@MarkEdmondson1234 MarkEdmondson1234 commented Feb 24, 2020

This code is 6 years old, it does not work anymore. Use https://rtweet.info/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment