Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
demo: oauth1-twitter.r does not work #195
The demo shown in oauth1-twitter.r does not work (tested on Win7 / Win8 with up to date httr from CRAN)
#1. Find OAuth settings for twitter: # https://dev.twitter.com/docs/auth/oauth oauth_endpoints("twitter")
#2. Register an application at https://apps.twitter.com/ # Insert your values below - if secret is omitted, it will look it up in # the TWITTER_CONSUMER_SECRET environmental variable. myapp <- oauth_app("twitter", key = "KeyForTwitterApp", secret="TheAppsTwitterSecret") #3. Get OAuth credentials twitter_token <- oauth1.0_token(oauth_endpoints("twitter"), myapp)
#4. Use API req <- GET("https://api.twitter.com/1.1/statuses/home_timeline.json", config(token = twitter_token))
If I set the callback URL to localhost:1410
I'm having the same problem, even after making the callback = http://127.0.0.1:1410/
After executing this code:
Rstudio gives me this message while alerting me to a fatal error, wishing to restart a session:
Waiting for authentication in browser....
I've been trying this on 4 different platforms: Windows 7 and 8, and a linux mint and lubuntu. I've also tried on 2 different locations, one at home (win 8 and the 2 linux machines) and one at work (the win 7).
Where should I begin to trouble shoot this?
Hi @geoffjentry i have tried almost everything suggested by most of the people here but still i am getting the same error. can someone please help me out with this.
@aishwarya91 Hi - your comment is about