osome-iu / botometer-python

A Python API for Botometer by OSoMe
https://botometer.osome.iu.edu
MIT License
371 stars 59 forks source link

Client Error: #46

Closed Gautamshahi closed 4 years ago

Gautamshahi commented 4 years ago

The API was working well but suddenly I am getting the client error,

404 Client Error: Not Found for url: https://osome-botometer.p.rapidapi.com/2/check_account

How to resolve it?

yang3kc commented 4 years ago

We recently disabled the free API, please subscribe to the Pro one. See announcement at https://twitter.com/Botometer/status/1250557098708144131

Please refer to https://github.com/IUNetSci/botometer-python/wiki/Using-the-Pro-API for instruction

Gautamshahi commented 4 years ago

Yes, but as per the basic plan I should get bot score for 2000 account in 24 hours but it's not working.

On Sun, May 3, 2020 at 3:17 AM Kaicheng(Kevin) Yang < notifications@github.com> wrote:

Closed #46 https://github.com/IUNetSci/botometer-python/issues/46.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IUNetSci/botometer-python/issues/46#event-3296957736, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6IKFU43CTK3RD5VKPRPVDRPTA2VANCNFSM4MX3RMAA .

-- Gautam Kishore Shahi,

yang3kc commented 4 years ago

When you say "it's not working", do you mean you can't get any or you can get some but not 2000 a day?

Gautamshahi commented 4 years ago

I am not able to get any bot score in the last 30 hours, before that it was working fine.

My data size has only 375 accounts.

How to resolve this issue?

On Sun, May 3, 2020 at 3:30 AM Kaicheng(Kevin) Yang < notifications@github.com> wrote:

When you say "it's not working", do you mean you can't get any or you can get some but not 2000 a day?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IUNetSci/botometer-python/issues/46#issuecomment-623039270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6IKFTWQHQREQBGJNCUHLDRPTCM3ANCNFSM4MX3RMAA .

-- Gautam Kishore Shahi,

yang3kc commented 4 years ago

Please read the announcement I shared above

Gautamshahi commented 4 years ago

The description says some changes for a pro account but for Free-API link is not working(https://market.mashape.com/OSoMe/botometer#check-account).

On Sun, May 3, 2020 at 3:36 AM Kaicheng(Kevin) Yang < notifications@github.com> wrote:

Please read the announcement I shared above

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IUNetSci/botometer-python/issues/46#issuecomment-623039875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6IKFTO5CPKMT24PKGMS2LRPTDBNANCNFSM4MX3RMAA .

-- Gautam Kishore Shahi,

yang3kc commented 4 years ago

It's not working because we disabled it. Please follow the instruction in the announcement to subscribe to the PRO API.

Gautamshahi commented 4 years ago

Okay, got it, even to access the 2000 limit, I need to register to pro account.

But the link https://market.mashape.com/OSoMe/botometer-pro is not working.

On Sun, May 3, 2020 at 3:47 AM Kaicheng(Kevin) Yang < notifications@github.com> wrote:

It's not working because we disabled it. Please follow the instruction in the announcement to subscribe to the PRO API.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IUNetSci/botometer-python/issues/46#issuecomment-623040809, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6IKFXJZKATEWQRSELGC43RPTELXANCNFSM4MX3RMAA .

-- Gautam Kishore Shahi,

yang3kc commented 4 years ago

Here is the link https://rapidapi.com/OSoMe/api/botometer-pro Would you mind telling me where did you find https://market.mashape.com/OSoMe/botometer-pro?

Gautamshahi commented 4 years ago

Thanks.

https://github.com/IUNetSci/botometer-python/wiki/Using-the-Pro-API#endpoint-url

In the above page, some URL refers to https://market.mashape.com/OSoMe/botometer-pro

On Sun, May 3, 2020 at 3:55 AM Kaicheng(Kevin) Yang < notifications@github.com> wrote:

Here is the link https://rapidapi.com/OSoMe/api/botometer-pro Would you mind telling me where did you find https://market.mashape.com/OSoMe/botometer-pro?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IUNetSci/botometer-python/issues/46#issuecomment-623041517, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6IKFT4NKWJ7QOSKYPDXETRPTFJLANCNFSM4MX3RMAA .

-- Gautam Kishore Shahi,

yang3kc commented 4 years ago

Thank you! I'll fix them now.

Gautamshahi commented 4 years ago

Thanks, it working again.

BTW, in each request how tweets do you process?

Do I need to send a batch of tweets(like 100 or 180) for each request or Botometer internally do it?

On Sun, May 3, 2020 at 4:01 AM Kaicheng(Kevin) Yang < notifications@github.com> wrote:

Thank you! I'll fix them now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/IUNetSci/botometer-python/issues/46#issuecomment-623041931, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6IKFULSCI3KO5POM7S3XDRPTF5XANCNFSM4MX3RMAA .

-- Gautam Kishore Shahi,

yang3kc commented 4 years ago

Please refer to the README: https://github.com/IUNetSci/botometer-python

bitscott1102 commented 4 years ago

Hi, my account is a pro one, but I still have the problem of 404 Client Error.

yang3kc commented 4 years ago

@bitscott1102 we just updated the python package, could you try to upgrade it with pip and see if it works?

bitscott1102 commented 4 years ago

@yangkcatiu That's great! It's working! Thanks!!