Allow the format of the data returned by H_S_F_Request to be specified.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 28 Feb 2009 16:11:35 +0000 (11:11 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 28 Feb 2009 16:11:35 +0000 (11:11 -0500)
commite2a9d8c06574c32a9c08b5e8eb45f41fe84d0915
treeabf61b29e83cfbda12b6aa787607ceea42c2bb2e
parent41a8e7880d9d35c5415a847eccb4bbbb33b16e74
Allow the format of the data returned by H_S_F_Request to be specified.
This allows client code to request the raw XML or JSON data - but more
importantly, it gets around Facebook's broken JSON support for method
calls that return numeric ids that cause overflows when decoded.
See:
http://bugs.developers.facebook.com/show_bug.cgi?id=4301
framework/Service_Facebook/lib/Horde/Service/Facebook.php
framework/Service_Facebook/lib/Horde/Service/Facebook/Photos.php
framework/Service_Facebook/lib/Horde/Service/Facebook/Request.php