We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Twitter Timeline Error

Development and Programming

Derek Jones's avatar
Derek Jones
7,561 posts
17 years ago
Derek Jones's avatar Derek Jones

Ah, I see now, that XML is entirely different. Yet another variation on the format of the error message they are serving when the content is down, wonderful.

       
Derek Jones's avatar
Derek Jones
7,561 posts
17 years ago
Derek Jones's avatar Derek Jones

Well, straw, camel’s back, all that. I give up trying to anticipate or keep up with the wide variety of error content they might send, so instead of blacklisting, I’m whitelisting. Anything except an XML file full of statuses gets kicked. See if this works out for you.

       
Joey Trimmer's avatar
Joey Trimmer
128 posts
17 years ago
Joey Trimmer's avatar Joey Trimmer

Hey Derek, awesome work on the plugin! I’m not sure if it’s just me having this issue but after upgrading to 1.1.1 I get a blank page when I go to look at my plugins page in the control panel. Aside from that, however, the plugin seems to be functioning perfectly.

       
Joey Trimmer's avatar
Joey Trimmer
128 posts
17 years ago
Joey Trimmer's avatar Joey Trimmer

Actually, it’s returning nothing (at least it’s blank and not errors tho!). I notice there isn’t anything in the twitter_timeline_cache…soooo…maybe that’s it? I’ll wait, it could easily be me breakin stuff. But the plugin page is still blank which is a concern. I realize it’s the weekend so no rush of course. 😊

Anyway, thanks again for the work on this plugin, I really love it.

       
Joey Trimmer's avatar
Joey Trimmer
128 posts
17 years ago
Joey Trimmer's avatar Joey Trimmer

Ugh, sorry for so many posts. I ended up using tag caching (took it out for some reason…) and waited 5 minutes or so and it works again. Sorry about that! Still blank plugin page though.

       
Derek Jones's avatar
Derek Jones
7,561 posts
17 years ago
Derek Jones's avatar Derek Jones

Turn on the Template Parsing Log, Joey, as the plugin has its own error messages logged there. If you still do not see anything, make sure you have display_errors enabled in your PHP environment, and that error reporting is enabled for logged in Super Admins in your Output and Debugging Preferences.

       
marmarko's avatar
marmarko
9 posts
16 years ago
marmarko's avatar marmarko

Hi guys,

I don’t know if I’m being an idiot, but I can’t seem to get this plugin to work correctly.

I want to display my own feed only and this is what I’m using:

{exp:twitter_timeline type=“user” user="[email protected]” password="……" limit="1" twitter_refresh="1"} <div class=”tweet”> <div class=”date”>{created_at format="%d-%m %g:%i"}</div> <div class=”status”>{text}</div> </div> {/exp:twitter_timeline}

It seems to display a public timeline.

Any ideas?

Cheers, Marko

       
Derek Jones's avatar
Derek Jones
7,561 posts
16 years ago
Derek Jones's avatar Derek Jones

Turn on Template Debugging in your Output and Debugging Preferences and see what log messages are being written for the Twitter Timeline tag, Marko.

       
marmarko's avatar
marmarko
9 posts
16 years ago
marmarko's avatar marmarko

Hi Derek,

thanks for the answer. I’ve turned the option on but no debug info shows on the page. I am logged in as a super admin in a separate tab of the same browser. Any idea why this is not working?

Cheers Marko

       
Derek Jones's avatar
Derek Jones
7,561 posts
16 years ago
Derek Jones's avatar Derek Jones

You must be logged in via the actual domain you are visiting, to the front end. Have you set a cookie domain so that your login is maintained over www vs. no www (or any other subdomain)?

       
OurITGuys's avatar
OurITGuys
12 posts
16 years ago
OurITGuys's avatar OurITGuys

Having troubles with this plug-in. I’m using the Core version of EE 1.6.6. The error I’m getting is the following:

Warning: Invalid argument supplied for foreach() in /home/cody/public_html/system/plugins/pi.twitter_timeline.php on line 302

Warning: Invalid argument supplied for foreach() in /home/cody/public_html/system/plugins/pi.twitter_timeline.php on line 302
       
theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio

Hey there, i’m having the same problem with this plugin on a Expression Engine Hosted account. Here are the errors i’m getting:

Warning: Invalid argument supplied for foreach() in /www/pmh####/public_html/system/plugins/pi.twitter_timeline.php on line 302

Warning: Invalid argument supplied for foreach() in /www/pmh####/public_html/system/plugins/pi.twitter_timeline.php on line 302
       
Derek Jones's avatar
Derek Jones
7,561 posts
16 years ago
Derek Jones's avatar Derek Jones

What version of the plugin are you running, theblogstudio?

       
theblogstudio's avatar
theblogstudio
90 posts
16 years ago
theblogstudio's avatar theblogstudio

Twitter Timeline (v.1.2)

       
Derek Jones's avatar
Derek Jones
7,561 posts
16 years ago
Derek Jones's avatar Derek Jones

On line 299, add the following:

echo '<pre>';print_r(htmlentities($xml_obj));echo '</pre>

<p>’;
</pre>

Curious to see if Twitter is returning yet another new response.

       
1 2 3 4 5

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.