HybridAuth Linkedin导入个人资料; 重定向/接收代码后如何进行?

I'm having difficulties with the further process after authenticating against LinkedIn using HybridAuth and being redirected back to my app with ?code=XXXXX

I'm following this example which goes well untill line 18: https://hybridauth.github.io/hybridauth/userguide/IDProvider_info_LinkedIn.html

I'm being redirected back to my application using the callback URL with mydomain.tld/link/code?=XXXXX

But then what actually using the library itself, I'm not able to find out of the library takes on further here using the code you GET from your url.

I have been googling around where most examples show AUTH only and I need to import which maybe needs a POST again from my code using this callback URL code but I'm wondering if I need to process this myself or the library has some functions for it again.

Would be great to know how this should be done and have it available in stackoverflow for others as reference as well.

I have been googling around where most examples show AUTH only and I need to import which maybe needs a POST again from my code using this callback URL code but I'm wondering if I need to process this myself or the library has some functions for it again.

Code as in: https://hybridauth.github.io/hybridauth/userguide/IDProvider_info_LinkedIn.html

Redirected back to my application with the code from LinkedIn I need to reuse somehow.