Hi,

First of all, thank you for this easy-to-use and simple module.

I managed to get it worked localy but when I uploaded it to my server (hosted at OVH : www.ovh.com), the tweets do not show up.

I checked the phpinfo() and the JSON is installed.

Any thoughts on this bugg ?

Thank you,
Emile

Comments

fvuong’s picture

FYI, get the same problem on my OVH shared environment.

sylvain lavielle’s picture

Get this problem too on OVH shared environment (mutu) ... but with the 6.x-1.3 version of this module, but I think issue is the same.

In my case, there is a warning in watchdog :
Could not retrieve data from Twitter. The error message received was: Rate limit exceeded. Clients may not make more than 150 requests per hour..This site may be subject to rate limiting. For more information, see:http://apiwiki.twitter.com/Rate-limiting

It seem twitter_pull do request twitter service anonymously. In this case Twitter dev. documentation said (https://dev.twitter.com/docs/rate-limiting is the new link) :

Unauthenticated calls are permitted 150 requests per hour. Unauthenticated calls are measured against the public facing IP of the server or device making the request.

There is a way to know if the OVH shared server is over the limit :

From the server call a this service : https://api.twitter.com/1/account/rate_limit_status.json
you will get a json reply like this :

{"reset_time":"Mon Oct 22 14:39:50 +0000 2012","hourly_limit":150,"remaining_hits":0,"reset_time_in_seconds":1350916790}

In my case, my OVH shared Server was surely blacklisted by twitter : 1350916790 seconds ... its about 42 years :) ... damn

Twitter developer doc also said about rate Limiting :

OAuth calls are permitted 350 requests per hour and are measured against the oauth_token used in the request.

Is there a way to use Twitter pull throw OAuth calls or anyone have an idea for a workaround ?

Thanks all

Sylvain

sylvain lavielle’s picture

Some informations about OAuth and twitter_pull in this issue (http://drupal.org/node/893394)