could u tell me how can i get JSON responses.
On Tue, Dec 21, 2010 at 2:19 AM, Matt Harris thematthar...@twitter.comwrote:
Hi,
The id_str is only returned in the JSON responses as it isn't needed in the
XML response.
The XML response returns all data as a string so a unique *_str field
hi,
right now im using id to for status update,
how to use id_str,
how can i get id_str?
im using twitter api on my php page..
ex follower response is
20/December/2010 13:22:51: SimpleXMLElement Object
(
[...@attributes] = Array
(
[type] = array
)
[user] =
please help me how to get id_str
what is id_str?
public function statusUpdates($token,$message)
{
global $logger;
$client = $token-getHttpClient($this-option_array);
$message_encode=$message;
There are a number of JSON implementations in languages like Javascript and
ActionScript that result in truncation of larger integers. Recently
Twitter's id-generation scheme for Tweets changed, resulting in larger
integers. id_str is provided so that you have a string-based representation
of
Hi,
The id_str is only returned in the JSON responses as it isn't needed in the
XML response.
The XML response returns all data as a string so a unique *_str field isn't
required.
Hope that helps,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris
On Mon, Dec 20, 2010