mkearney/tweetbotornot2

predict_botometer is not working

dieguszgz opened this issue · 4 comments

Hi dude,

When I use this fuction:
predict_botometer(doc_users, key = "7xxxxxxa3xxxxxxxxxxxxxxxxxxx51", set_key = TRUE, parse = TRUE, verbose = TRUE)

The output is:
Error in curl::curl_fetch_memory(url, handle = handle) :
Could not resolve host: osome-botometer.p.mashape.com

How can i solve this? Many thanks in advance.

Thank you for creating an issue on {tweetbotornot}! I appreciate the feedback!

the host should be: botometer-pro.p.rapidapi.com, who can i change it?

instead of the last one: botometer10.p.rapidapi.com

Hi dieguszgz. I also had the same issue. I updated the code and created a pull request that should solve this issue (at least it did in my case). Also, be aware that you now need to subscribe to the Botometer freemium plan on rapidapi so you can check accounts. If you don't subscribe, you receive NA scores from Botometer but without any explanation why.