olahol / react-social

Simple React components for social buttons (Facebook, Twitter and Pinterest) and social counts.
177 stars 60 forks source link

donreach.com share count API, limit of 1000 API requests per hour #24

Open efernandesng opened 8 years ago

efernandesng commented 8 years ago

We regret to inform you that due to a massive rise in popularity of our service we've had to implement a rate limit of 1000 API requests per hour. If you require more requests please contact us to discuss premium or dedicated options.

In most cases, this is not a problem.. but an issue.

olahol commented 8 years ago

Thank you @efernandesng, I had not noticed that they had put a limit.

slorber commented 8 years ago

Hehe I'm just running into the same problem.

Our API has been scaled and rewritten from scratch to cope with the large amounts of traffic we're getting. To be able to deliver an even better service we will be discontinueing our public API by the end of the year in favour of a closed (but free) API requiring you to sing up. Stay tuned!

We regret to inform you that due to a massive rise in popularity of our service we've had to implement a rate limit of 1000 API requests per hour. If you require more requests please contact us to discuss premium or dedicated options.

@olahol just to know, what do you plan to do on this subject? Not that I'm in a hurry but as I'm building a feature I'd like to know if I can count on count or if I'd rather remove the counts temporarily.

BTW they seem to support Twitter for Count, is there a reason why this project does not expose a Twitter Count?

olahol commented 8 years ago

@slorber at first I am going to add a warning about the limit in the readme. After that I will look for an alternative or hope that Google re-enables their count endpoint :fearful:

You are right that I should re-add TwitterCount with donreach.

slorber commented 8 years ago

thanks @olahol . Isn't the count exposed by each social network? Is it really required to use a service to get the counts?

olahol commented 8 years ago

Sadly not, twitter turned off their count api in October https://blog.twitter.com/2015/hard-decisions-for-a-sustainable-platform . And Google Plus does not expose a JSONP api anymore.

slorber commented 8 years ago

Ohhh I see, no twitter count! (btw maybe donreach twitter count does not work then...)

Is it really required to use JSONP? it's for CORS security reasons or something like that?

olahol commented 8 years ago

Usually CORS isn't turned on and you have to use something like https://anyorigin.com to circumvent it.