Furthermore, here is a tweet that shows what's going on: http://twitter.com/#!/TaimMobile/status/35349967103209472 Tweeted from 51st Street (btw 6/7th ave), yet the map shows 34th street.
Obviously the map on the website shows the same incorrect data: http://www.taimmobile.com Is this the iphone's tracking that is incorrect? Many thanks On Feb 9, 12:05 pm, David Terranova <[email protected]> wrote: > Hi, sorry if this has been posted before in here, I can't seem to find > anyone posting about this particular setup: > I have a website with a google map which is retrieving the coords from > a twitter's latest status, however the location of the google map > rarely matches the location of where the user tweeted from, sometimes > being half a mile off in a random direction. > > What is this due by? > > Here is the code I'm using: > > $twfeed = @file_get_contents('http://api.twitter.com/1/users/show/ > taimmobile.json'); > if($json){ > $data = json_decode($twfeed, false); > $lat = $data->status->geo->coordinates[0]; > $lon = $data->status->geo->coordinates[1]; > echo "<div id='map'><h3>Where are we?</h3><BR>".SGMprintmap($lat, > $lon,"18","TERRAIN",null,null)."</div>"; > > } > > (SGMprintmap is a function taken from a WP > plug:https://svn.wp-plugins.org/simple-google-map/trunk/simple-google-map.php) -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
