Warning (2): Use of undefined constant TW_API_KEY - assumed 'TW_API_KEY' (this will throw an Error in a future version of PHP) [APP/Plugin/LogiAuth/Controller/Component/TwComponent.php, line 31]Code Context || empty($this->controller->setting['twitter_api_secret'])
) {
if (! TW_API_KEY || ! TW_API_SECRET) {
$url = 'https://tabi-kuru.com/tw_callback'
TwComponent::get_api_info() - APP/Plugin/LogiAuth/Controller/Component/TwComponent.php, line 31
TwitterController::login() - APP/Plugin/LogiAuth/Controller/TwitterController.php, line 25
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 87
Warning (2): Use of undefined constant TW_API_SECRET - assumed 'TW_API_SECRET' (this will throw an Error in a future version of PHP) [APP/Plugin/LogiAuth/Controller/Component/TwComponent.php, line 31]Code Context || empty($this->controller->setting['twitter_api_secret'])
) {
if (! TW_API_KEY || ! TW_API_SECRET) {
$url = 'https://tabi-kuru.com/tw_callback'
TwComponent::get_api_info() - APP/Plugin/LogiAuth/Controller/Component/TwComponent.php, line 31
TwitterController::login() - APP/Plugin/LogiAuth/Controller/TwitterController.php, line 25
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 87
Warning (2): Use of undefined constant TW_API_KEY - assumed 'TW_API_KEY' (this will throw an Error in a future version of PHP) [APP/Plugin/LogiAuth/Controller/Component/TwComponent.php, line 40]Code Context $this->log($url);
return [
TW_API_KEY,
$url = 'https://tabi-kuru.com/tw_callback'
TwComponent::get_api_info() - APP/Plugin/LogiAuth/Controller/Component/TwComponent.php, line 40
TwitterController::login() - APP/Plugin/LogiAuth/Controller/TwitterController.php, line 25
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 87
Warning (2): Use of undefined constant TW_API_SECRET - assumed 'TW_API_SECRET' (this will throw an Error in a future version of PHP) [APP/Plugin/LogiAuth/Controller/Component/TwComponent.php, line 41]Code Context return [
TW_API_KEY,
TW_API_SECRET,
$url = 'https://tabi-kuru.com/tw_callback'
TwComponent::get_api_info() - APP/Plugin/LogiAuth/Controller/Component/TwComponent.php, line 41
TwitterController::login() - APP/Plugin/LogiAuth/Controller/TwitterController.php, line 25
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 87
Notice (8): Undefined index: oauth_token [APP/Vendor/Twitter/twitteroauth.php, line 73]Code Context $request = $this->oAuthRequest($this->requestTokenURL(), 'GET', $parameters);
$token = OAuthUtil::parse_parameters($request);
$this->token = new OAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
$oauth_callback = 'https://tabi-kuru.com/tw_callback'
$parameters = array(
'oauth_callback' => 'https://tabi-kuru.com/tw_callback'
)
$request = '{"errors":[{"code":32,"message":"Could not authenticate you."}]}'
$token = array(
'{"errors":[{"code":32,"message":"Could not authenticate you."}]}' => ''
)
TwitterOAuth::getRequestToken() - APP/Vendor/Twitter/twitteroauth.php, line 73
TwitterController::login() - APP/Plugin/LogiAuth/Controller/TwitterController.php, line 27
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 87
Notice (8): Undefined index: oauth_token_secret [APP/Vendor/Twitter/twitteroauth.php, line 73]Code Context $request = $this->oAuthRequest($this->requestTokenURL(), 'GET', $parameters);
$token = OAuthUtil::parse_parameters($request);
$this->token = new OAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
$oauth_callback = 'https://tabi-kuru.com/tw_callback'
$parameters = array(
'oauth_callback' => 'https://tabi-kuru.com/tw_callback'
)
$request = '{"errors":[{"code":32,"message":"Could not authenticate you."}]}'
$token = array(
'{"errors":[{"code":32,"message":"Could not authenticate you."}]}' => ''
)
TwitterOAuth::getRequestToken() - APP/Vendor/Twitter/twitteroauth.php, line 73
TwitterController::login() - APP/Plugin/LogiAuth/Controller/TwitterController.php, line 27
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 87