SalmanAzmat / php-twitter

Automatically exported from code.google.com/p/php-twitter
0 stars 0 forks source link

function objectify() problems with rss and atom #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Specifying a type other than xml or json in the construction of your twitter 
object is somewhat 
futile, because every call is subjected to objectify(), which returns false -- 
that's no data -- unless 
the type is json or xml.

Notably there is a funky check on type at the beginning of each function, which 
checks for the 
allowed type for each api call. This allows rss and atom through where 
appropriate but there will be 
no data after objectify.

Sorry, I haven't a solution worked out yet. 

Original issue reported on code.google.com by three.e...@gmail.com on 21 May 2009 at 1:46

GoogleCodeExporter commented 8 years ago
Agreed. v1.2 will deprecate all useless support outside of JSON. If you're 
using minimum requirements in PHP 
(5.2), then you already have access to the JSON object. There is no point in 
supporting other types. Won't fix.

Original comment by emmenset...@gmail.com on 16 Jun 2009 at 6:27