Skip to content
Pascal Pfiffner edited this page Apr 12, 2016 · 1 revision

There are a couple of peculiarities with LinkedIn's OAuth2 implementation. You can use OAuth2CodeGrantLinkedIn which deals with those; it will need to use the custom embedded web view. To receive JSON you will also need to use their special header x-li-format and set it to json:

urlRequest.setValue("json", forHTTPHeaderField: "x-li-format")
Clone this wiki locally