How to add GeoTwitter to your blog or website

  You can add Geotwitter.NET to your website or blog with a simple JavaScript include and will provide two functions:

  • You can see the last 10 users using Twitter the have a location as well as you can only show your last location.

The code to add on your website is:

<script type="text/javascript" src="http://geotwitter.net/Where.ashx"></script>

Has a few parameters that you can modify the size to fit your website

 

To change the the size you can use parameters Width and Height.

<script type="text/javascript" src="http://geotwitter.net/Where.ashx?width=500&height=300"></script>

You'll be required to create a key at Google Maps with the domain you are using, to create the key if free and you can generate it here. Then you sent it on the script like this:

<script type="text/javascript" src="http://geotwitter.net/Where.ashx?googlekey=ABQIAAAAel8IPnI5wEvR5PtOvUjVJxQNlqpZBVZoSHorPhx1jq-2Q98j_hSr8_uxZyh4Mo--_q1VGkVdnmqp6Q"></script>

The above samples will just provide the last 10 people using GeoTwitter, if you only want to provide your location you can just pass the username

<script type="text/javascript" src="http://geotwitter.net/Where.ashx?Width=800&Height=600&googlekey=ABQIAAAAel8IPnI5wEvR5PtOvUjVJxR27VTUqgbR8dNmH64FZ-vxUR2MiBSF3HjombTc31cw-p0IB0OSNdE7PQ&Username=alpascual"></script>

Cheers

Al

Published Wednesday, May 28, 2008 11:41 PM by albertpascual

Comments

No Comments

Leave a Comment

(required) 
(required) 
(optional)
(required)