[R-pkg-devel] Help with making a package for Twitter Authentication

Tushar Sadhu tushar.sadhu08 at gmail.com
Thu Nov 19 17:33:15 CET 2015


Hello and greetings

I have been doing Twitter Data Analysis following a few blogs which
requires me to register as a developer and enter a PIN everytime I want to
start reading tweets. But now I have made a basic package which does all
the hectic authentication, but the PIN from an authorized app is still
required.
(specifically after twitCred is correctly defined and this step :
twitCred$handshake(cainfo = system.file("CurlSSL", "cacert.pem", package =
"RCurl"))     )
Though it works and reduces the steps, it still has to go to the URL and
enter the PIN manually

So my questions are two :

1. If I go ahead with the current method of reading tweets by logging from
my account, how do I automate the process of entering the PIN when the code
runs inside the package?
2. What is the standard method of gathering tweets without any
authentication at all. How is it done professionally without using anyone's
account and PIN.

This is my first question here and I am not sure if I am following the
right protocols or am asking silly questions. In either case I am sorry.

Please help!
Also Thankyou in advance :)

Regards
Tushar Sadhu

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list