I think goo.gl uses curl command, but i wanted to just adapt my current code rather than start again.

salathe
—
2011-10-09T19:23:37Z —
#3

This may be a silly question, but have you read through the documentation about the url shortener? It details everything that you will have to do (and how to do it) and provides code samples for using with PHP (and lots of other languages).

andre1990
—
2011-10-09T21:16:02Z —
#4

Not a silly question...i have had a look through and wasn't able to decipher what a single piece of code would look like that would get the job done.