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
0 comments:
Post a Comment