Php Linkedin API:在请求中找不到CSRF状态令牌

Php Linkedin API:在请求中找不到CSRF状态令牌,php,codeigniter,api,linkedin,linkedin-api,Php,Codeigniter,Api,Linkedin,Linkedin Api,我想在php(CodeIgniter)中创建一个本地应用程序,用于管理我的Linkedin帐户 我安装了此库: 我遵循了相同的说明,但在成功登录后重定向时出现错误消息 Type: Happyr \ LinkedIn \ Exception \ LinkedInException Message: Could not get access token: The user may have revoked the authorization response from LinkedIn.com

我想在php(CodeIgniter)中创建一个本地应用程序,用于管理我的Linkedin帐户

我安装了此库:

我遵循了相同的说明,但在成功登录后重定向时出现错误消息

 Type: Happyr \ LinkedIn \ Exception \ LinkedInException
Message: Could not get access token: The user may have revoked the authorization response from LinkedIn.com was empty.
Filename: C: \ wamp \ www \ linkedin \ vendor \ happyr \ linkedin-api-client \ src \ Authenticator.php

Line Number: 128
当我评论第128行时,我得到另一个错误:

Message: Could not find a CSRF state token in the request.

Filename: C: \ wamp \ www \ linkedin \ vendor \ happyr \ linkedin-api-client \ src \ Authenticator.php

Line Number: 208
请帮我解决这个问题。
谢谢:)

评论第128行不是个好主意。您需要将访问令牌传递到库中。谢谢您的回复,您能告诉我怎么做吗?我不能,您没有向我们显示任何代码。@AdamDev找到解决方案了吗?