SHIVI BHATIA
2016-Feb-14 10:15 UTC
[R] Error with Twitter Authorization for Sentiment Analysis
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 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20160214/5c66cf6e/attachment.pl>
Sandeep Rana
2016-Feb-15 12:22 UTC
[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.
SHIVI BHATIA
2016-Feb-15 13:06 UTC
[R] Error with Twitter Authorization for Sentiment Analysis
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 Igot 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 arenot 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.