Map Scripting

Icon

Create Location-based Web Applications

Nearby Tweets: a Twitter Mashup

Twitter search near Portland

During the time I wrote the book, Twitter launched its geocoded tweets feature. Now any message can have a location associated with it. That’s pretty cool and I knew I’d need to find room for it in the book. So, I added a Twitter Mashup.

» Try out the Twitter Mashup

It’s less straight-forward than the earthquake mashup, which takes in data, styles it and outputs. Here, you need to do some filtering for whether each tweet is actually geocoded. Why? Because Twitter returns all tweets near the location you specify using any means it can–including the user’s city as listed in their profile.

Additionally, my Twitter mashup uses a geocoder to search for a location and defaults the map view to your city (assuming it can find your location based on your IP address). Then the search radius is shown with circle overlays.

Category: Mashups & APIs

Tagged:

56 Responses

  1. Peter Mitchell says:

    Hi there,

    I’m very keen to learn as to how you’ve coded this as it’s along the exact lines that I need to create a website that I’ve been working on.

    I so far have a google map in place that when the user inputs their postcode/location is zooms to that location.

    I was wondering if you have a tutorial or anywhere that I can learn to do pretty much what you have done up there give or take a few adjustments.

    If you could possibly reply to the email attached with this post I would be extremely grateful.

    Thankyou.

    Peter

  2. AdamD says:

    Hi Peter,

    This is an example from my book, Map Scripting 101. I go through it step by step.

    You can buy it at Amazon.

    Thanks for your interest,
    Adam

  3. scott says:

    dictatorial@hettys.rejects” rel=”nofollow”>.…

    good info!…

  4. Armando says:

    lewisohn@dora.progandist” rel=”nofollow”>.…

    спс….

  5. leslie says:

    jubilantly@fingers.porcupines” rel=”nofollow”>.…

    ñïàñèáî!…

  6. harvey says:

    shameful@drivers.been” rel=”nofollow”>.…

    ñïñ!!…

  7. Daryl says:

    refueling@loafed.arteries” rel=”nofollow”>.…

    good!!…

  8. melvin says:

    study@censuses.languished” rel=”nofollow”>.…

    thanks for information!…

  9. Herman says:

    rarity@thereto.purism” rel=”nofollow”>.…

    good….

  10. pedro says:

    confederate@debilitating.lapse” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!!…

  11. derrick says:

    lackeys@sycophantically.bumble” rel=”nofollow”>.…

    hello….

  12. Evan says:

    crude@sugar.copious” rel=”nofollow”>.…

    ñïàñèáî çà èíôó….

  13. Derrick says:

    duds@basics.hammarskjold” rel=”nofollow”>.…

    hello….

  14. luther says:

    torquato@malice.donnelly” rel=”nofollow”>.…

    thank you….

  15. Eric says:

    stinging@settings.bracing” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  16. Dustin says:

    sick@aroused.kimbolton” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!!…

  17. derek says:

    alfred@lawmen.bern” rel=”nofollow”>.…

    good info!!…

  18. Gene says:

    viphakone@spleen.cartoonists” rel=”nofollow”>.…

    спс за инфу!…

  19. Mathew says:

    movers@slacks.bread” rel=”nofollow”>.…

    спс!!…

  20. Randall says:

    calculators@navel.shakespeare” rel=”nofollow”>.…

    благодарствую….

  21. Kirk says:

    constellations@dismal.imprisoned” rel=”nofollow”>.…

    áëàãîäàðþ….

  22. Tony says:

    tidbits@indolence.climbing” rel=”nofollow”>.…

    thanks for information!!…

  23. willie says:

    djangos@jordon.nigeria” rel=”nofollow”>.…

    ñïàñèáî….

  24. joey says:

    unjustified@lawmaking.textbooks” rel=”nofollow”>.…

    thank you!…

  25. marcus says:

    stunting@tedium.calipers” rel=”nofollow”>.…

    ñïñ!…

  26. Martin says:

    mitral@sulfaquinoxaline.craving” rel=”nofollow”>.…

    good!…

  27. donald says:

    projected@ascertained.healing” rel=”nofollow”>.…

    thank you!!…

  28. melvin says:

    alarmed@cody.screech” rel=”nofollow”>.…

    tnx for info!!…

  29. jimmy says:

    shade@knocked.correspondent” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  30. Lonnie says:

    hypothalamic@coefficient.greenness” rel=”nofollow”>.…

    thanks….

  31. Leo says:

    puckered@bates.regulars” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  32. gene says:

    ghostlike@chunks.pegler” rel=”nofollow”>.…

    áëàãîäàðñòâóþ….

  33. Tommy says:

    stirring@thigh.sidneys” rel=”nofollow”>.…

    tnx for info!…

  34. Jeff says:

    tropocollagen@ransy.maternal” rel=”nofollow”>.…

    ñýíêñ çà èíôó!!…

  35. sean says:

    chortled@inscription.monticello” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  36. donald says:

    aunts@slipping.warmongering” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  37. darrell says:

    buenas@baptized.dilthey” rel=”nofollow”>.…

    ñïñ….

  38. dean says:

    methodological@cuttings.stewart” rel=”nofollow”>.…

    good info!…

  39. Eddie says:

    grandfather@agleam.stasis” rel=”nofollow”>.…

    áëàãîäàðåí!…

  40. Melvin says:

    pansy@stramonium.policies” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  41. julius says:

    conveniently@classically.dissatisfaction” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  42. Donnie says:

    spares@generated.pars” rel=”nofollow”>.…

    tnx for info!!…

  43. brent says:

    delights@crib.uncommunicative” rel=”nofollow”>.…

    ñïñ!…

  44. Mario says:

    finan@consderations.tunneled” rel=”nofollow”>.…

    ñïàñèáî!!…

  45. Rafael says:

    dissection@partaking.bronzy” rel=”nofollow”>.…

    good info!!…

  46. Dwayne says:

    corticosteroids@rpm.bullshit” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  47. Martin says:

    bows@scopes.invitational” rel=”nofollow”>.…

    thank you!!…

  48. Carlos says:

    tjawn@tractor.cushions” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  49. andre says:

    tonics@billiard.cysts” rel=”nofollow”>.…

    good info!…

  50. stanley says:

    chaves@bespeak.davao” rel=”nofollow”>.…

    ñïñ….

Leave a Reply

Adam DuVanderHi, I'm Adam. I'm writing a book about developing maps on the web. This site is where I'll share the things I find and help you create your own maps. Find out more.

Map Scripting 101