Twitter API's XML outputs error

Twitter API's XML outputs error

Issue ID:1766
Issue Category:bug
Component:api
Priority:normal
Status:fixed
Assigned:zach
Version:0.8
Milestone:0.8
Keywords:twitter api xml

The API response will for at least user (api/statuses/user_timeline.xml) and public timeline (api/statuses/public_timeline.xml) include following error message in different places of the XML output:

"Warning: XMLWriter::text() expects parameter 1 to be string, array given in /var/www/laconica/lib/xmloutputter.php on line 137"

I think the problem may located in twitterapi.php file in line 191 where attachment array object is included into twitter status array. Attachment arrays cannot be handled in the show_twitter_xml_status funtion in the line 361.

Legacy Data

This issue was migrated from another tracking system. The legacy data at time of import is provided below as a reference.

Ticket ID: 
1766
Reported by: 
jaakko
Owner: 
zcopley
Status: 
closed
Resolution: 
closed
Type: 
bug
Component: 
api
Priority: 
3
Version: 
0.8
Milestone: 
0.8

Updates

#1

I'm pretty sure this has been fixed in the 0.8.x branch.

#2

Oops, I was looking and using the master branch. I checked the 0.8.x branch. It looks like it could work. Will try it later. Sorry about this.

#3

Confirmed - this bug has been resolved in 0.8.x

Login or Register to modify this issue, or to receive updates by email.

You can also subscribe to the RSS feed for updates to this issue.