[R] Error with Twitter Authorization for Sentiment Analysis

SHIVI BHATIA shivi.bhatia at safexpress.com
Mon Feb 15 14:06:02 CET 2016


Hi Sandeep,

Here is my authorization code:

setup_twitter_oauth(consumer_key,consumer_secret,access_token,access_secret)
.

Prior to this I have just added my consumer key and the other var after
logging at https://apps.twitter.com. Does this help.

-----Original Message-----
From: Sandeep Rana [mailto:sunnysingha.analytics at gmail.com]
Sent: Monday, February 15, 2016 5:52 PM
To: SHIVI BHATIA <shivi.bhatia at safexpress.com>
Cc: r-help at r-project.org
Subject: Re: [R] Error with Twitter Authorization for Sentiment Analysis

Shivi,
Could you also share the piece of code to have a look at ?

Regards,
Sunny Singha

> On 14-Feb-2016, at 3:45 PM, SHIVI BHATIA <shivi.bhatia at safexpress.com>
wrote:
>
> Dear Team,
>
>
>
> Every now and then I face issues while connecting to Twitter:
>
>
>
> Error in check_twitter_oauth() : OAuth authentication error:
>
> This most likely means that you have incorrectly called
> setup_twitter_oauth()'
>
>
>
> I have checked multiple github suggestion and statsexchange forum &
> have followed all suggestion such as to update httpuv package and
> calling out the library names in a certain manner however I am still
> not successful.. Also apart from these there was also recommendation
> on httr package to be called first though while calling the httr package I
got this message:
>
>
>
> Error in unloadNamespace(package) :
>  namespace 'httr' is imported by 'twitteR' so cannot be unloaded
>
>
> Not sure on what is to be done here hence require help from the forum.
>
>
>
>
>
> Thanks, Shivi
>
> Mb: 9891002021
>
>
>
> This e-mail is confidential. It may also be legally privileged. If you are
not the addressee you may not copy, forward, disclose or use any part of it.
If you have received this message in error, please delete it and all copies
from your system and notify the sender immediately by return e-mail.
Internet communications cannot be guaranteed to be timely, secure, error or
virus-free. The sender does not accept liability for any errors or
omissions.
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


This e-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.



More information about the R-help mailing list