linkedin provides 2 API in Rails Application. The first Linkedin API is the Javascript API and the other one is REST API.