Sorry about that -
No change in the output. I guess I should have mentioned that this was being displayed in the sidebar where the timeline tag is.
Parse error: parse error, unexpected T_ENDIF in /www/pmh####/public_html/system/core/core.functions.php(637) : eval()'d code on line 8
http://www.goodgrape.com/index.php/twittertest/ Is the location.
Warning: htmlentities() expects parameter 1 to be string, object given in /www/pmh####/public_html/system/plugins/pi.twitter_timeline.php on line 300
Warning: Invalid argument supplied for foreach() in /www/pmh####/public_html/system/plugins/pi.twitter_timeline.php on line 304
Warning: Invalid argument supplied for foreach() in /www/pmh####/public_html/system/plugins/pi.twitter_timeline.php on line 304
Thanks for catching that 😉
xml_cache Object
(
[tag] => hash
[attributes] =>
[value] =>
[children] => Array
(
[0] => xml_cache Object
(
[tag] => request
[attributes] =>
[value] => /statuses/user_timeline.xml
[children] =>
)
[1] => xml_cache Object
(
[tag] => error
[attributes] =>
[value] => This method requires authentication.
[children] =>
)
)
)
How annoying, it looks like it is yet another variant of the error XML. The error previously would be the first tag, and not the second. But the problem is revealed now, you’re accessing a timeline without authentication, or with incorrect authentication information (provided by your tag parameters).
Same problem here - I stuck the PHP code in and got the same authentication notice, however, I’ve tested the user and password live on twitter and it works fine. Maybe it’s something in my template? This is what I’m using:
{exp:twitter_timeline type="user" user="###" password="###"}
<div class="tweet">
<div class="date">{created_at format="%m-%d %g:%i"}</div>
<div class="status">{text}</div>
</div>
{/exp:twitter_timeline}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.