简体   繁体   中英

No Twitter authorization prompt when using rtweet package

When using rtweet, I am not prompted to sign into twitter at any point. As a result I receive a : Error: is.request(signed_req) is not TRUE error. Any suggestions on how to overcome this issue?

I have been following the getting started examples on cran with no success. Thanks in advance.

Could you post some of the code you tried? According to http://rtweet.info/ :

The first time you make an API request—eg, search_tweets(), stream_tweets(), get_followers()—a browser window will open

You may need to reinstall from the github.

I ran into a similar authentication where I was not prompted to login after trying to use search_tweets() . However, my error code read:

Error in oauth_listener(authorize_url, is_interactive) :
httpuv package required to capture OAuth credentials.

After installing the httpuv package, I reran search_tweets() as was able to make a successful call.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM