Facebook, LinkedIn, and Twitter have implemented OAuth, following the specifications of OAuth 1 (Twitter LinkedIn) and a draft for OAuth 2 (Facebook, LinkedIn).
I suggest switching to OAuth 1 or OAuth 2 User Agent Flow. If your mind is set to OAuth. You can always go for simple basic authentication to get started and focus on the really difficult parts, namely the design of your API.
If your mind is set to OAuth, check out this list of code libraries: http://oauth.net/code/ . Also read the specifications, if you want to implement an OAuth provider, you need to know and understand the specifications. Otherwise, you are faced with a world of pain in search of ready-made libraries that will allow you all "OAuthy".
source share