Jump to content

davieboy

Members
  • Posts

    46
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

davieboy's Achievements

Member

Member (2/5)

0

Reputation

  1. HI there appreciate the code, something to look at for sure. Not got anything yet, just trying to get an idea of how to do it. Is it possible to just get the last URL tweeted, say for example, someone tweets my web address, have a script that checks that twitter account (or hashtag search) and will pick the latest one tweeted,and do something with it? Dave
  2. Hi there I'm trying to find out how to extract a URL from a tweet if someone tweets me. Can't see anything obvious online. Anyone able to help or advise Thanks Dave
  3. HI All im trying to follow the o' tutorials but coming up totally blank if(!$data=simplexml_load_file("http://maps.googleapis.com/maps/api/directions/xml?origin=51.519812,-0.200774&destination=51.26246,-1.084024&sensor=false")){ trigger_error('Error reading XML file',E_USER_ERROR); } echo 'Displaying contents of XML file...<br />'; foreach($data as $directions){ echo 'Start: '.$directions->route->leg->step->start_location->lat.' <br>End: '.$directions->route->leg->step->end_location->lng.'<br> HTML: '.$directions->route->leg->step->html_instructions.' <br>Distance: '.$directions->route->leg->step->distancee->text.'<br /><br>'; } Results just wont show at all, i know its to do with the way im going through the xml fields, but cant see where Can anyone help me at all?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.