Topic: Twitter Feed

 
User
Gravatar
Joined: 2011-04-10
Posts: 2
Hi,
I have two errors when i activate the twitter feed widget :
A PHP Error was encountered Severity: Warning Message: array_slice() expects parameter 1 to be array, null given Filename: twitter_feed/twitter_feed.php Line Number: 43 A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: twitter_feed/twitter_feed.php Line Number: 59

Does anyone has any idea ?
 
 
User
Gravatar
Joined: 2011-03-20
Posts: 81
On line 35 there is the :
http://twitter.com/statuses/user_timeline/' . $options['username'] . '.json

have your tried the URL in your browser to see if it is indeed returning a response?
http://twitter.com/statuses/user_timeline/(twitter_user_name_here).json
 
 
User
Gravatar
Joined: 2011-04-10
Posts: 2
thx for your quick reponse,

the url seems correct :
http://twitter.com/statuses/user_timeline/mzwygart.json
 
 
User
Gravatar
Joined: 2011-05-29
Posts: 1
Is this antoine42's widget?
 
 
User
Gravatar
Joined: 2012-03-16
Posts: 20
Have you a solution ? I have the same issue
 
 
User
Gravatar
Joined: 2011-03-20
Posts: 81
@Anyone having a problem with this: Please make sure that your PHP installation has function file_get_contents() enabled. Hosting providers may have that turned off for security purposes.
 
 
User
Gravatar
Joined: 2012-03-16
Posts: 20
http://www.pyrocms.com/forums/topics/view/11494