Universal OAuth 1.0 Provider in Python with Redis -€“ Stage 2

Been doing some more work with this OAuth 1.0 Provider and as it turns out, my implementation so too lean. Having said that, it’s exactly what I aimed for in the beginning: A simple lean OAuth 1.0 Provider implementation without getting buried over the concept of OAuth itself. This iteration still have more things to be introduced. As pointed by willhn at GeekTalk.in here, OAuth 1.0 allow the OAuth authorization data to be passed through HTTP Authorization Header and POST. [Read More]

OAUTHnesia for Windows 8 Metro Apps C#

The last few days at Bandung was spent hacking a “proof of concept” application for Windows 8 Metro without using Urbanesia’s OAUTHnesia library. Now the library is done but still needs a few tweaks. All updates of the codes will be live in its Github Gist.

Without further ado, here’s the gist: [gist][/gist]

OAUTHnesia for PHP

It’s 2012 now and Urbanesia is publishing a new OAUTHnesia client for Urbanesia’s API. This time it’s for PHP. Why it took so long to actually finish a PHP version is because we gave up on a third party library that is too complicated to do simple things. So without further ado, the codes are available below.

HMAC-SHA1 Base64 Result With Objective-C

A few days of hard done nights were all inspired by faulty encodings. Talk about “Hello World” experiences LOL. Keeping things in mind, to really smooth things up between Objective-C and PHP, in any Objective-C functions needing to encode/decode strings like PHP, here’s the encoding type: NSASCIIStringEncoding Do not interchange this with any other or things will go wrong :( Here are snippets to generate HMAC-SHA1 hashes in its Base64 form encoded correctly for OAUTH v1. [Read More]

OAUTHnesia Client for Objective-C

Okay for the last few hours, I’ve been learning how to code in Objective-C and the first result is an OAUTH client for Urbanesia. I haven’t tested thoroughly though. The class basically wraps POST & GET requests to Urbanesia with OAUTH requirements. Instantiating the class, you will have to provide Consumer Key & Secret obtained from Urbanesia. The current implementation requires User Key & Secret for every requests too. Future release of OAUTHnesia will include non Use Key/Secret methods and XAUTH. [Read More]

Small is NOT so small

It’s been like a few months not posting into my own blog. The 24th day of 2011 and it seems that months have passed by just like that. In the span of 24 days that have passed, every single day is cramped with all the aspects of being a startup. Just today, I went from a programmer, a cable crimper, a business partner, a troubleshooter, a mobile app consultant, a colleague to a friend for a friend, all in just one day. [Read More]

Urbanesia API Wrapper Released - Merry Christmas!

Before anything else, I would love to say MERRY CHRISTMAS to everyone, have a great holiday and may the Christmas spirit make all of us ready for 2011. God bless you all :) This 2 days I’ve been working on a wrapper class to wrap Urbanesia’s OAuth and xAuth authentication for our API. The main idea was to keep it as simple and as easy as possible. Here’s my Christmas present :) [Read More]

Android - Create SHA1 Hash

I’ve been toying with Urbanesia’s OAuth provider API calls in Android these few hours regretting why it is so complicated in Java compared to PHP hehehe. Since OAuth’s requirement to generate a signature is using HMAC SHA1 to sign the whole POST & GET requests, I had to find a way to do it in Android’s Java. So I scour Google to look for answers but sadly the results is surprisingly scarce. [Read More]