social_shares icon indicating copy to clipboard operation
social_shares copied to clipboard

What does this error mean "Error during requesting sharings of..."?

Open rothanachoun opened this issue 8 years ago • 3 comments

I got this error "Error during requesting sharings of...". I'm wondering weather it happens because of request is limited or another reason.

rothanachoun avatar Feb 26 '16 14:02 rothanachoun

Hi,

It happens here: https://github.com/Timrael/social_shares/blob/master/lib/social_shares/base.rb#L14 You can call #shares! with exclamation mark and see error by your self, example:

SocialShares::Facebook.new('http://apple.com').shares!

If you want me to help you more, give me more details about what social network do you ask and what type of error do you get.

Timrael avatar Feb 28 '16 16:02 Timrael

Hi,

I have tested to call #shares! with exclamation mark and it return 0. But problem seem happen randomly.

I have a script which loop all record and check weather it have fb share > 0 or not and will delete that record if it is 0.

It works well about first 20 records .. after that It always raise this error.

[SocialShares::Facebook] Error during requesting sharings of 'http://www.sample.com': 403 Forbidden

rothanachoun avatar Feb 29 '16 06:02 rothanachoun

it is happening for me as well.

dmitrypol avatar Jan 26 '17 00:01 dmitrypol