I'm enthusiastic and passionate about web development and design in all it's forms and love to build application with efficient and simple methods

Saturday, April 11, 2015

Linkedin Gem: LinkedIn OAuth 2.0 add_share Error

7:27 AM Posted by Codeinterpreter No comments
LinkedIn OAuth 2.0 is Rails Gems to integrate Linked Social Media to our Apps through API. This Gem is easy to integrated and use, we can directly GET and POST data from  Linkedin.

But, theres a problem when using add_share API using https://github.com/emorikawa/linkedin-oauth2  documentations. api.add_share(content: "hi") will always generated error.

I've search, read Linkedin documentation, and customize the library but it always generated error. After a few times I found that doing a little change in add_share comments it will works. 

Changes the command into: 
api.add_share(comment: "hi")
Voila, it works... :D


Post a Comment