Skip to content
This repository has been archived by the owner on Apr 11, 2019. It is now read-only.

Error in setup_twitter_oauth #135

Open
kimanastacio opened this issue Nov 18, 2016 · 3 comments
Open

Error in setup_twitter_oauth #135

kimanastacio opened this issue Nov 18, 2016 · 3 comments

Comments

@kimanastacio
Copy link

So, I'm trying to use Twitter's API but all I get is "Error: could not find function "setup_twitter_oauth"
Here's what I'm running in RStudio:

library(twitteR)
library(wordcloud)
library(tm)
library(plyr)

consumer_key <- 'xxxxxxxx'
consumer_secret <- 'xxxxxx'
access_token <- 'xxxx-xxxx'
access_secret <- 'xxxxx'

setup_twitter_oauth  (consumer_key,
                    consumer_secret,
                    access_token,
                    access_secret)

I saw some questions like mine, but none of them worked. Wondering if someone has an updated solution (:

thanks!

@lgheorma
Copy link

lgheorma commented Feb 27, 2017

I am having the same problem.
Have found a solution to it so far?

@alwayssai
Copy link

same problem here.
Error in setup_twitter_oauth(consumerKey, consumerSecret, accessToken, :
could not find function "setup_twitter_oauth"

@samridhsharma
Copy link

In my case ,I was directly writting the values of 4 parameters in the function :setup_twitter_oauth and because of this R studio was showing :(Error: could not find function "setup_twitter_oauth")
But when i first assigned the values of the parameters to their variables and then passed them to the function then it worked fine for me !!
Hope it helps !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants