hexgnu / linkedin

Ruby wrapper for the LinkedIn API
http://rdoc.info/gems/linkedin
MIT License
756 stars 407 forks source link

Linkedin Group Share #251

Closed sharthakmohanty closed 9 years ago

sharthakmohanty commented 9 years ago

I am trying to implement linkedin group share in my rails 3.2.8 app. I have got the group id also from linkedin. When I am trying to share through the method "add_group_share" its showing 500 error - linkedin is having some internal problems.

My Code - >> client = LinkedIn::Client.new.authorize_from_access('xxxx', 'yyyyyy') client.add_group_share("8217495",{title: comment,summary: 'heloooooooooooooooooo',content: {'submitted-url'=> url,title: title,description: desc,'submitted-image-url'=> img}})

Any help is appreciated.

hundredwatt commented 9 years ago

Can you provide a log of the generated HTTP request and response?

sharthakmohanty commented 9 years ago

thnx for your help. I have done it there was a permission issue in linkedin.