Learn to use an API for OAuth website

Hi Alex, Is there any resources which you can recommend to learn reading API for website with OAuth Example: trying to build app for Angel.co /Linkedin--but their API need OAuth and its hard to compare it with your course on "Build an apartment rental site like Craigslist". Any help will be great, Thanks, Ardi

Posted over 4 years ago by Ardi
Posted over 4 years ago by Omar Amiri

Hey Ardi, I've been trying to integrate the LinkedIn API as well. If you figure it out, please post a link. I'd love to see how you did it.

1
Posted over 4 years ago by Alex Yang

I haven't worked with the Angel.co/LinkedIn APIs before, so I can't give you much specific advice. (Though I've heard that the LinkedIn API is not terribly user-friendly: http://thenextweb.com/dd/2015/02/12/linkedin-takes-aim-developers-plans-lock-apis/). Every API is different though - you can use our Craigslist as a good way to understand the general principles behind an API, but the specific details will likely differ depending on which API you end up using.

For OAuth, there should be some good gems available for you to use. Check out doorkeeper (https://github.com/doorkeeper-gem/doorkeeper) and omniauth (https://github.com/intridea/omniauth).

1