clickrain / EE_Twitter

EE Add-on that uses oAuth to display Twitter Feed
Other
48 stars 18 forks source link

Feed stopped working all of the sudden #48

Open nixonmedia opened 9 years ago

nixonmedia commented 9 years ago

Hi there,

This was working a few days ago and all of the sudden stopped working:

{exp:twitter:user screen_name="revitasinc" limit="5"} {text} {/exp:twitter:user}

Debugging says:

(0.019667 / 14.20MB) Using 'user' Twitter Timeline For User revitasinc (0.019739 / 14.20MB) Fetching Twitter timeline remotely (0.068728 / 14.25MB) Twitter Timeline Error: Unable to retrieve statuses from Twitter.com

Any thoughts?

bryanburgers commented 9 years ago

Interesting.

I think your best bet is to inspect $rawjson around mod.twitter.php line 434 to see if what Twitter is sending you gives you any clues.

lealea commented 9 years ago

I also received this but I'm unsure how to further troubleshoot. I tried to create new keys and it's giving me a generate new token error.

Client is on v2.9.2 - Build Date: 20141004 PHP Version 5.5.9

I looked into the line 434 and nothing shows there.

bryanburgers commented 9 years ago

@lealea Can you change line 434 to this?

echo $rawjson; die();

or

var_dump($rawjson); die();

to see what the JSON being returned by Twitter says?

lealea commented 9 years ago

That doesn't seem to work because I removed all my keys and it won't let me generate request tokens any more. :-/ I just gives me a variation of:

{"errors":[{"code":215,"message":"Bad Authentication data."}]}

lealea commented 9 years ago

Hm, when I put in the API keys/secret but DON'T try to generate a PIN, it gives me: string(62) "{"errors":[{"code":135,"message":"Timestamp out of bounds."}]}"