[Dev] Consume Rummble API & OAuth for the Geo-WIN
July 26, 2010 – 3:49 pmOne of our little side projects that we developed with our Rummble API is the Rummble Recommend a Place application for Facebook users. Using the public Rummble API we were able to effortlessly develop a simple web app that uses geolocation data to obtain cities closest to the current visitor and also deliver results when people want to recommend places for a particular person to visit.
Given the time and cost of building your own geospatial infrastructure or implementing expensive commercial APIs, we found the public nature of our own API enables us get creative when building projects around all core Rummble services.

Using the OAuth library for Ruby, we were able to use the OAuth Consumer classes to make requests to the search.findCity and rummble.getNearestRummbles methods.

The Rummble API supports OAuth 1.0 authentication, and should work straight away with most standard client libraries. One of the main things to watch out for, as raised by developers in the Rummble API Google Group, is that OAuth public key should be passed as a parameter, instead of in the HTTP header. Also, make sure endpoints for request tokens, access token and authorisation URLs are set correctly.
We understand that issues with OAuth authentication can prevent projects getting off the ground, so if you’re having problems, we’ve probably been there before and will do everything we can to help!
OAuth has a long future ahead. Facebook recently adopted OAuth 2.0 for authentication and authorisation for their recently launched Graph API, which uses SSL instead of the complex signature schemes and token exchanges.
As ever, we appreciate your thoughts and feedback. How would OAuth 2.0 support impact your decision to implement an API? Is there anything missing from the Rummble API? What geo-projects are you dreaming of? We can help make it happen. Feel free to post to the group or contact us directly. FTW.










We made it easier than the off-side rule to discover and recommend venues that are showing the World Cup.