Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
The Check In API has arrived
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adam Keys  
View profile  
 More options Aug 6 2010, 10:54 am
From: Adam Keys <adamkk...@gmail.com>
Date: Fri, 6 Aug 2010 09:54:17 -0500
Local: Fri, Aug 6 2010 10:54 am
Subject: The Check In API has arrived
The Check In API is here. We're really excited to see what everyone out there is going to build with it!

IMPORTANT IMPORTANT IMPORTANT

Gowalla aspires to connect real people with real places. Our goal has always been for people to go out and explore both locally and around the world.

As such, the Check In API is primarily intended for use by applications and services designed for mobile devices. Thoughtful uses of the API by applications and services designed for location-aware browsers on the desktop are also permitted. We encourage developers to use the following guidelines when creating applications that use Gowalla’s Check In API.

* Encourage users of your application to check in at places they are actually located.
* Avoid incentives or game mechanics that reward checking in from distant locations.
* Never “auto check-in” a person without their explicit permission. This is seriously uncool.
* Encourage social interaction over bot-like behavior.
* Rapid, repeated check-ins with the intent to automate the location and swapping of items will not be tolerated.
* Go easy on the API. Cache data where you can, respond to error messages, and be thoughtful about your user experience.
* Applications that disregard the guidelines above risk violation of Gowalla’s Terms of Service and may have their API access suspended without warning.

So keep cool, my babies.

---

Checking in with the Check In API is pretty straightforward:

1. Send an authorization request including a `scope` parameter of `read-write`
2. Fetch an OAuth token, again passing a `scope` parameter of `read-write`
3. Send a POST request to `/checkins`
3a. Optionally, display the HTML returned in the checkin response to let the user know if they were awarded any pins, received a bonus, and if any friends are near where their checkin.

You can find detailed documentation on the checkin API page:

http://gowalla.com/api/docs/checkin

If you're new to OAuth, you'll also want to check out those docs:

http://gowalla.com/api/docs/oauth

We've got example apps too:

http://github.com/gowalla/oauth-example
http://github.com/gowalla/iPhone-Example-Client

---

If you've got questions, ask away!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
noah  
View profile  
 More options Aug 6 2010, 12:48 pm
From: noah <iamn...@gmail.com>
Date: Fri, 6 Aug 2010 11:48:25 -0500
Local: Fri, Aug 6 2010 12:48 pm
Subject: Re: The Check In API has arrived
Awesome! I'm so excited this is here!

One thing that would nice would be the ability to check-in using the
spot URL. My reasoning being that most API calls return spot URLs
instead of the actual spot ID, which leaves me with the choice of
either parsing out the ID from the URL or making an extra API call to
resolve the ID.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
noah  
View profile  
 More options Aug 6 2010, 2:51 pm
From: noah <iamn...@gmail.com>
Date: Fri, 6 Aug 2010 13:51:45 -0500
Local: Fri, Aug 6 2010 2:51 pm
Subject: Re: The Check In API has arrived
Another thing I've noticed: When using the testing endpoint, the HTML
returned seems to always be for Austin Java, which is kind of
confusing. I though I had screwed something up in my app, but I''m
passing the right spot id.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Keys  
View profile  
 More options Aug 6 2010, 3:07 pm
From: Adam Keys <adamkk...@gmail.com>
Date: Fri, 6 Aug 2010 14:07:13 -0500
Local: Fri, Aug 6 2010 3:07 pm
Subject: Re: The Check In API has arrived
That's correct. The test endpoint returns a canned set of rewards we often use for testing.

The idea behind the test endpoint is that it makes it simpler to figure out if you're passing the right parameters and if you can correctly display the detail HTML. It isn't supposed to behave _exactly_ like a real checkin would, just close enough to know whether your code works.

On Aug 6, 2010, at 1:51 PM, noah wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Keys  
View profile  
 More options Aug 6 2010, 3:19 pm
From: Adam Keys <adamkk...@gmail.com>
Date: Fri, 6 Aug 2010 14:19:47 -0500
Local: Fri, Aug 6 2010 3:19 pm
Subject: Re: The Check In API has arrived
When you search for spots, the URL to use when checking into that spot is returned as checkin_url. Always use that URL when you're creating a checkin.

This principle holds true for the entire Gowalla API. There are lots of places where we return URLs instead of IDs; the idea here is that you just follow whatever we give you and things should work. This saves you from having to parse IDs and generate URLs and it gives us a little flexibility to move things around without breaking your apps.

That said, if there is some response where a URL to some data would be useful but its not there, let us know and we'll probably add it pretty quickly.

On Aug 6, 2010, at 11:48 AM, noah wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Keys  
View profile  
 More options Aug 6 2010, 3:22 pm
From: Adam Keys <adamkk...@gmail.com>
Date: Fri, 6 Aug 2010 14:22:19 -0500
Local: Fri, Aug 6 2010 3:22 pm
Subject: Re: The Check In API has arrived
Oops, that should be checkins_url, not checkin_url.

On Aug 6, 2010, at 2:19 PM, Adam Keys wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »