mkearney / tweetbotornot2

🔍🐦🤖 Detect Twitter Bots!
https://tweetbotornot2.mikewk.com
Other
89 stars 16 forks source link

predict_botometer is not working #6

Open dieguszgz opened 4 years ago

dieguszgz commented 4 years ago

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.

github-actions[bot] commented 4 years ago

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

dieguszgz commented 4 years ago

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

dieguszgz commented 4 years ago

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

thetoubi commented 4 years ago

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.