• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Twitter Integration: How Long Before Counter Updates?

taylor_smith

Well-known member
#1
Hello. When we configured nginx to support clean URLs, our Twitter counter in the "share this page" section reset. Additionally, I found this in the server error log:

Code:
[SIZE=13px][FONT=Trebuchet MS][COLOR=#6d3f03][SIZE=11px][LEFT]Error Info[/LEFT][/SIZE][/COLOR]
[COLOR=#646464]ErrorException:[/COLOR] Undefined offset: 1 - [COLOR=#646464]library/Zend/Oauth/Token.php:263[/COLOR]
[COLOR=#969696]Generated By: Unknown Account, Today at 1:26 AM[/COLOR]
[COLOR=#6d3f03][SIZE=11px][LEFT]Stack Trace[/LEFT][/SIZE][/COLOR]
#0 /data/sites/community.stratics.com/library/Zend/Oauth/Token.php(263): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/data/sites/com...', 263, Array)
#1 /data/sites/community.stratics.com/library/Zend/Oauth/Token.php(73): Zend_Oauth_Token->_parseParameters(Object(Zend_Http_Response))
#2 /data/sites/community.stratics.com/library/Zend/Oauth/Token/Request.php(43): Zend_Oauth_Token->__construct(Object(Zend_Http_Response), NULL)
#3 /data/sites/community.stratics.com/library/Zend/Oauth/Http/RequestToken.php(52): Zend_Oauth_Token_Request->__construct(Object(Zend_Http_Response))
#4 /data/sites/community.stratics.com/library/Zend/Oauth/Consumer.php(115): Zend_Oauth_Http_RequestToken->execute()
#5 /data/sites/community.stratics.com/library/Twitter/ControllerPublic/Register.php(17): Zend_Oauth_Consumer->getRequestToken()
#6 /data/sites/community.stratics.com/library/XenForo/FrontController.php(310): Twitter_ControllerPublic_Register->actionTwitter()
#7 /data/sites/community.stratics.com/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /data/sites/community.stratics.com/index.php(13): XenForo_FrontController->run()
#9 {main}
[COLOR=#6d3f03][SIZE=11px][LEFT]Request State[/LEFT][/SIZE][/COLOR]
array(3) {
  ["url"] => string(52) "http://community.stratics.com/register/twitter?reg=1"
  ["_GET"] => array(2) {
    ["/register/twitter"] => string(0) ""
    ["reg"] => string(1) "1"
  }
  ["_POST"] => array(0) {
  }
}[/FONT][/SIZE]
Facebook "likes" and Google "+1s" are counting properly, but shares via Twitter are not counting. My boss says that the Twitter counter doesn't update in real time, but that doesn't seem quite right. Does anyone know what might be affecting this?
 

Brogan

XenForo moderator
Staff member
#2
It is controlled by Twitter.
You will just have to wait for it to update.

That error appears to be related to registration/login via Twitter.
Are you using an add-on for that?