toanalien
New member
Hello,
Facebook returns code within length > 265 characters, so in function getAccessToken can not use XenForo_Helper_Http::getClient namespace.
Solved : change on file library\XenForo\Helper\Facebook.php
line 30 : setParameterGet -> setParameterPost
line 37 : request('GET') -> request('POST')
https://gist.github.com/toanalien/19f16a2711a39c30799b
After changed, It works normally.
Facebook returns code within length > 265 characters, so in function getAccessToken can not use XenForo_Helper_Http::getClient namespace.
Solved : change on file library\XenForo\Helper\Facebook.php
line 30 : setParameterGet -> setParameterPost
line 37 : request('GET') -> request('POST')
https://gist.github.com/toanalien/19f16a2711a39c30799b
After changed, It works normally.
Attachments
Last edited: