Re: Twitter sidebox Cached
Quote:
Originally Posted by
lolwaut
There are no php error logs related to the twitter sidebox. However, I did take a look at twitter_cache.xml. When the sidebox displays nothing, this is what the XML file looks like:
Code:
<hash><error>Rate limit exceeded. Clients may not make more than 150 requests per hour.</error><request>/statuses/user_timeline/fredssupply.xml?count=25</request></hash>
Why am I exceeding the rate limit? I thought that was the whole point of having the cache.... please advise and thank you for your help.
Are you using the version from this thread? (1.10) Of the one from the downloads section? (1.03)
Re: Twitter sidebox Cached
Quote:
Originally Posted by
paulm
Are you using the version from this thread? (1.10) Of the one from the downloads section? (1.03)
I am using 1.10.
Re: Twitter sidebox Cached
Quote:
Originally Posted by
lolwaut
I am using 1.10.
I've tried the 1.03 version too and have the same problem :(
Re: Twitter sidebox Cached
Thank you for all your work, it's running great. It also cleared up an SSL issue I was having with a different sidebox. Cheers!
Re: Twitter sidebox Cached
Quote:
Originally Posted by
paulm
Are you using the version from this thread? (1.10) Of the one from the downloads section? (1.03)
If nobody else is experiencing this issue, I have to assume its something with my setup. I have an idea for a workaround...
Is there a way to change the setting of how often it tries to update the Twitter cache? If I could change it so it rarely tries to update the cache or only updates when I do a manual update through ?refresh_twitter_cache that would be ideal. I don't have a problem manually updating it whenever I post a new tweet since I don't tweet that often anyway.
Is this possible?
Re: Twitter sidebox Cached
Quote:
Originally Posted by
lolwaut
If nobody else is experiencing this issue, I have to assume its something with my setup. I have an idea for a workaround...
Is there a way to change the setting of how often it tries to update the Twitter cache? If I could change it so it rarely tries to update the cache or only updates when I do a manual update through ?refresh_twitter_cache that would be ideal. I don't have a problem manually updating it whenever I post a new tweet since I don't tweet that often anyway.
Is this possible?
Anyone?
Re: Twitter sidebox Cached
Module stopped working yesterday! Iam the only one?
Re: Twitter sidebox Cached
Quote:
Originally Posted by
soki
Module stopped working yesterday! Iam the only one?
Stopped here too :ohmy:
The cache file shows:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error code="34">Sorry, that page does not exist</error>
</errors>
Maybe Twitter changed the url/api ?
Re: Twitter sidebox Cached
OK I found the solution!
In includes/extra_configures/twitter_cached_sidebox.php
change in line 29 the url from
Code:
// Twitter Status url
define('TWITTER_BOX_CACHED_URL', sprintf("http://twitter.com/statuses/user_timeline/%s.xml?count=%d", TWITTER_BOX_CACHED_USER, (int)TWITTER_BOX_CACHED_COUNT));
to this
Code:
// Twitter Status url
define('TWITTER_BOX_CACHED_URL', sprintf("http://api.twitter.com/1/statuses/user_timeline/%s.xml?count=%d", TWITTER_BOX_CACHED_USER, (int)TWITTER_BOX_CACHED_COUNT));
and will work again :)
Re: Twitter sidebox Cached
Great! Thanks soki!
Applied the change, refreshed the cache, and it works again :clap: