Can't manage to retrieve token
Trantor7 opened this issue · comments
I am trying to use the library to retrieve the access token. I don't seem to manage though when using the code example provided.
I get an error message for the line self.client getPath. The getPath method is not recognised on LIALinkedInHttpClient class.
What am I missing?
Thanks
Hi, Thanks for your email.
Are you using the Cocoapod? (1.0.0 of LIALinkedInAPI) or the latest from master? The master has switched to use AFNetworking 2.x, hence getPath: is now called GET:
That is my best guess.
I really hoped to release a new version to cocoapods last week, but I would like to include an updated example as well, hence I didn’t got entirely through. Will do in a couple of days.
Regards Jacob
On 17 Dec 2013, at 20:39, Trantor7 notifications@github.com wrote:
I am trying to use the library to retrieve the access token. I don't seem to manage though when using the code example provided.
I get an error message for the line self.client getPath. The getPath method is not recognised on LIALinkedInHttpClient class.
What am I missing?
Thanks
—
Reply to this email directly or view it on GitHub.
Hi Jeyben,
I have just seen that you updated the pod spec to use the AFNetworking 2.0, but the version I get using cocoa pods still uses AFNetworking 1.x. I there something I miss or isn't it updated on cocoa pods yet?
Thanks a lot for your help and great work you're doing here.
Kind Regards,
Martin
You caught me in "work in progress". I have just released version 2.0.0. Hope it will do it for you.