LinkedinSwift icon indicating copy to clipboard operation
LinkedinSwift copied to clipboard

Artificial limitation of the requests for LinkedinSwiftHelper

Open skyylex opened this issue 7 years ago • 1 comments

Hello,

I found that current of LinkedinSwiftHelper implementation for requestURL has artificial limitation for supported HTTP method and payload data. So only GET requests are supported. Is there any reason for that?

At the moment, I'm trying to implement "https://api.linkedin.com/v1/people/~/shares" request, but it seems that it isn't possible (it needs to be POST and has json in HTTP body).

https://developer.linkedin.com/docs/share-on-linkedin

Anyway, thanks for maintaining LinkedinSwift!

skyylex avatar Sep 06 '17 15:09 skyylex

The main reason for this limitation is I don't have that much time for support all type of requests.

You can fork and modify this behaviour in your favour, and PRs are very welcome.

tonyli508 avatar Jan 23 '18 12:01 tonyli508