Hi!
I was just wondering if theres any way to bring the users customized
timezone settings when curling the user_timeline.xml, rather than
having to trick around with php time-functions to get it right.
As it works now it seems to send out GMT time. It would be much neater
if you switched your twitter-settings, it got right on the homepage/
app too.
I'm using this code to fetch the data..
## Choose your target
$target = "
http://twitter.com/statuses/user_timeline.xml";
#$target = "
http://twitter.com/statuses/friends_timeline.xml";
## OK, no more editing. Times up lets do this!
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $target);
curl_setopt($ch, CURLOPT_USERPWD, $login);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
## Grabbing the data
$gettwit = curl_exec($ch);
## Parsing the data
$twitters = new SimpleXMLElement($gettwit);
Thanks in advance!