User Tools

Site Tools


checkincoupon

Differences

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

Link to this comparison view

Next revision
Previous revision
checkincoupon [2010/05/05 20:58] – created 67.23.194.98checkincoupon [2024/01/31 04:08] (current) – external edit 127.0.0.1
Line 1: Line 1:
-Plan a) +=== Common steps === 
-User following coupon bot +  * Cafe signs up 
-coupon bot listens for checkins +  * Cafe registers their foursquare/gowalla/google-buzz location 
-coupon bot (messages) user with coupon+  * Cafe creates coupon
  
-Plan b) +=== Plan A === 
-Coupon bot listens to locations +  * User follows coupon bot. 
-coupon bot (messages) user with coupon+    * con: requires user to know about coupon service 
 +  * Coupon bot listens to followees for checkins 
 +  coupon bot sends message user with coupon 
 + 
 +=== Plan B === 
 +  * Coupon bot listens to registered locations. 
 +  * Coupon bot tweets with user's twitter handle and coupon 
 + 
 +=== API Research === 
 + 
 +PDX Airport most popular checkin spot in portland. The checkins for the last 3 hours are exposed. 
 + 
 +curl -u login:password http://api.foursquare.com/v1/venue?vid=35132 
 + 
 +  <checkins> 
 +    <checkin> 
 +      <id>38869851</id> 
 +      <created>Wed, 05 May 10 21:44:31 +0000</created> 
 +      <timezone>America/Los_Angeles</timezone> 
 +      <ismayor>true</ismayor> 
 +      <user> 
 +        <id>554xxx</id> 
 +        <firstname>Angela</firstname> 
 +        <lastname>D.</lastname> 
 +        <photo> 
 +          http://playfoursquare.s3.amazonaws.com/userpix_thumbs/IJRHQLWB5XXX.jpg 
 +        </photo> 
 +        <gender>female</gender> 
 +      </user> 
 +    </checkin> 
 + 
 +The bot could have a foursquare account, and poll locations for which coupons apply. 
 +Messaging that person with the coupon is the next hurdle. Need a mechanism for  
 +reaching them, foursquare doesnt seem to have one. Also it could feel spammy to 
 +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.1273093092.txt.gz · Last modified: 2024/01/31 04:08 (external edit)