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
Posted from http://weblogs.asp.net/albertpascual



Comments
bradyo said on 5.29.2008 at 4:08 PM
Al: In the note on adding GeoTwitter to one's own website, you say "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". COuld you explain what is meant by "pass the username"? I'd like to give it a try.
Thanks!
albert said on 5.29.2008 at 4:21 PM
@bradyo
Add this at the end &username=bradyo
<script type="text/javascript" src="geotwitter.net/Where.ashx />
Email me for any more questions
Al
bradyo said on 6.05.2008 at 5:43 PM
Thanks, Al! Giving it a try now.
Best wishes from San Francisco.
Brady O.
Community Blogs said on 11.03.2008 at 3:18 AM
Finally this weekend I updated the Editor on the GeoTwitter as promised on the previous post . The GeoTwitter