User Tools

Site Tools


checkincoupon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
checkincoupon [2010/05/05 22:43] 67.23.194.98checkincoupon [2011/09/08 17:53] donpdonp
Line 1: Line 1:
 === Common steps === === Common steps ===
   * Cafe signs up   * Cafe signs up
-  * Cafe registers their foursquare/gowalla/buzz location+  * Cafe registers their foursquare/gowalla/google-buzz location
   * Cafe creates coupon   * Cafe creates coupon
  
Line 10: Line 10:
  
 === Plan B === === Plan B ===
-  * Coupon bot listens to locations.+  * Coupon bot listens to registered locations.
  
 === Finally === === Finally ===
Line 28: Line 28:
       <ismayor>true</ismayor>       <ismayor>true</ismayor>
       <user>       <user>
-        <id>554035</id>+        <id>554xxx</id>
         <firstname>Angela</firstname>         <firstname>Angela</firstname>
         <lastname>D.</lastname>         <lastname>D.</lastname>
         <photo>         <photo>
-          http://playfoursquare.s3.amazonaws.com/userpix_thumbs/IJRHQLWBWGRDK45Z.jpg+          http://playfoursquare.s3.amazonaws.com/userpix_thumbs/IJRHQLWB5XXX.jpg
         </photo>         </photo>
         <gender>female</gender>         <gender>female</gender>
Line 43: Line 43:
 get notified at random when checking in. get notified at random when checking in.
  
 +$ curl -u login:password http://api.foursquare.com/v1/user?uid=554xxx
 +  <user>
 +    <id>554XXX</id>
 +    <firstname>Angela</firstname>
 +    <lastname>D.</lastname>
 +    <photo>
 +      http://playfoursquare.s3.amazonaws.com/userpix_thumbs/IJRHQLWBWGXXXX.jpg
 +    </photo>
 +    <gender>female</gender>
 +    <twitter>hertwittername</twitter>
 +    <facebook>12345</facebook>
 +  </user>
 +
 +Even though we are not foursquare friends, the contact information is exposed. Most conviently
 +the twitter handle is exposed. A twitter account for this same bot could public-tweeet
 +@user you've got a $1 off coupon at store X for the next 15 minutes! Any good twitter
 +client will pick up that tweet in search.
checkincoupon.txt · Last modified: 2024/01/31 04:08 by 127.0.0.1