Hi all,
I used to have a bunch of scripts that would pull tweets for me, but now they aren’t working.
I’ve created a new app, with new keys, to try and start from scratch. I am absolutely baffled at why it won’t authenticate me, though.
library(httr)
myKey = "abc123"
mySecret = "zyx987"
myapp = oauth_app(“Twitter”, key=myKey, secret=mySecret)
token = oauth1.0_token(app = myapp, endpoint = oauth_endpoints(“twitter”))
Always returns
Error in init_oauth1.0(self$endpoint, self$app, permission = self$params$permission, :
Unauthorized (HTTP 401).
I am 100% certain myKey and mySecret are correct. I’ve copy and pasted them, regenerating them, like 30 times.
On my app management page, I have a name, description, website, and callback url all set.
Any ideas what I can possibly be doing wrong? I’m at a loss.