TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Gaming Foursquare with 9 lines of Perl

82 pointsby jmillerincover 14 years ago

8 comments

jorgeortiz85over 14 years ago
Disclosure: I work at foursquare, but my opinions are my own and not those of my employer.<p>Foursquare is a game to be played with yourself and with your friends, and was designed to encourage you to get out and explore your city, helping you discover new and interesting things about the world around you. Sure, you can cheat, but that's kind of like stealing Monopoly money from the bank in a game with your friends. You'll "win", but you're totally missing the point. We'll try our best to detect cheating and not reward that kind of behavior, but we're not going to get draconian about it. Ultimately, if you want to lie to your friends, that's your problem.<p>Getting businesses to give rewards to foursquare users was NOT a use case that was contemplated when the original game mechanic was built. But business owners were so excited about the engagement that foursquare users had with their business, that "mayor specials" started popping up organically. The demand for this kind of functionality was so great that it was built into the product, but it was not something that was there (or even contemplated) originally. Recognizing mayors was an obvious way to add rewards onto the existing game mechanic, but there are flaws with this approach. First, it doesn't scale very well, as there is only one mayor per venue. This isn't very useful for large retailers who have many customers. And it's also not great for users because as foursquare gets more popular then mayorships get more competitive and more difficult to retain. Second, as the original poster notes, there's much more incentive to cheat if there are real rewards being offered.<p>But "mayor specials" aren't the only way for businesses to reward their foursquare customers. Retailers like Gap, American Eagle, Steve Madden, and f.y.e. are offering discounts to anyone who checks in. Jimmy Choo ran a "Catch a Choo" campaign in London, where a pair of shoes were running around London checking in to places, and if you "caught" them when they checked in you got a free pair of shoes. Gogo is offering a badge if you check in using their in-flight wifi on any number of flights. Restaurants like Kona Grill and AJ Bombers have hosted "Swarm Parties" (you get a "Swarm" badge on foursquare if &#62;50 people are checked in at the same venue at a time) with special menus and prices to attract customers and get them to unlock a badge together. Another restaurant, B&#38;O American Brasserie, offers discounts for checking in and bringing friends with you (the more friends, the bigger the discount). All of these are by definition rewards that you can only benefit from if you are where you say you are.<p>It's early days in the space, and there are still a lot of issues that no one has figured out yet, but people who dismiss foursquare because of how easy it is to "cheat" are kind of missing the point.
评论 #1623871 未加载
评论 #1623837 未加载
评论 #1623721 未加载
ivankiriginover 14 years ago
It is so much easier than that. <a href="http://giantrobotlasers.com/post/973558561/im-mayor-of-facebook-on-foursquare-i-got-it-by" rel="nofollow">http://giantrobotlasers.com/post/973558561/im-mayor-of-faceb...</a><p><pre><code> 58 23 * * * curl -u CELL:PASS http://api.foursquare.com/v1/checkin.json -d vid=VENUE</code></pre>
评论 #1623709 未加载
tofferover 14 years ago
Back in February, Jim Bumgardner wrote up his experiments with gaming Foursquare:<p><i>"Eventually I amassed a huge number of mayorships, spread among multiple accounts, including the Statue of Liberty, Mount Rushmore, the Lincoln Memorial, Stonehenge and the Taj Mahal"</i><p><a href="http://www.krazydad.com/blog/2010/02/mayor-of-the-north-pole/" rel="nofollow">http://www.krazydad.com/blog/2010/02/mayor-of-the-north-pole...</a>
Volscioover 14 years ago
I use Foursquare but I rarely check in while I'm at a place. Or even right after I'm there. I MIGHT check in before I get there, if I'm bored or am waiting. But I usually check in at the end of the night or next morning. I know this doesn't help me meet up with people who might happen to be in the area, but none of my friends in DC use Foursquare. More useful has been seeing my friends who leave Google Latitude on by default.<p>So basically I would hate it if they enforced stricter checkins, unless they could find a way to let bars, restaurants, etc. verify checkins through a quick scanner or something.
评论 #1623529 未加载
svagover 14 years ago
Interesting find jmillerinc. Now I can have an alibi whenever I want ... :P
pmjordanover 14 years ago
I always assumed these services had at least some very basic spoof protection, like an HMAC, with the secret obfuscated in their apps. I guess not, which means wireshark is all it takes to build a script like this.
评论 #1623320 未加载
afshinover 14 years ago
A two-line shell script with a random sleep interval and a curl call (see invankirigin's on this page) has here put into a cron job does the trick. No Perl necessary :-)
bmalicoatover 14 years ago
I'm only familiar with these services in concept, what incentives do businesses give their mayors? Anything unique or just XX% off coupons?
评论 #1623288 未加载
评论 #1623696 未加载