• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
[TH] Twitter Widget

[TH] Twitter Widget 1.0.0

No permission to download

Jake B.

Well-known member
#3
Won't using the API be kind of ineffective due to its limitation? There should be like only 180-300 calls per 15 minutes if it only fetches statuses/user_timeline. Well, I suppose it'll be a different story if the add-on cache the result every minute or something.
It is cached in the data registry, so if you use memcache it'll store there as well. The til can be changed and defaults to 1 hour
 
#4
This is a good widget; the only thing it's really missing is that none of the links in tweets are clickable, and only show as regular text.
 
#5
I've gotten several hundred errors while using this plugin over the past 24 hours:

Code:
Error Info
ErrorException: Undefined index: created_at - library/Audentio/TwitterWidget/Model/Twitter.php:48
Generated By: Unknown Account, Yesterday at 11:07 AM
Stack Trace
#0 /home/***/domains/squattheplanet.com/public/library/Audentio/TwitterWidget/Model/Twitter.php(48): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/***/dom...', 48, Array)
#1 /home/***/domains/squattheplanet.com/public/library/Audentio/TwitterWidget/WidgetRenderer/RecentStatusBlock.php(56): Audentio_TwitterWidget_Model_Twitter->getRecentTweets(5)
#2 /home/***/domains/squattheplanet.com/public/library/WidgetFramework/WidgetRenderer.php(683): Audentio_TwitterWidget_WidgetRenderer_RecentStatusBlock->_render(Array, 'search_results', Array, Object(XenForo_Template_Public))
#3 /home/***/domains/squattheplanet.com/public/library/WidgetFramework/Core.php(397): WidgetFramework_WidgetRenderer->render(Array, 'search_results', Array, Object(XenForo_Template_Public), Object(_WidgetFramework_ArrayOfString))
#4 /home/***/domains/squattheplanet.com/public/library/WidgetFramework/Core.php(316): WidgetFramework_Core->_renderWidgetsFor('search_results', Array, Object(XenForo_Template_Public), '')
#5 /home/***/domains/squattheplanet.com/public/library/WidgetFramework/Listener.php(126): WidgetFramework_Core->renderWidgetsFor('search_results', Array, Object(XenForo_Template_Public), Array)
#6 [internal function]: WidgetFramework_Listener::template_post_render('search_results', '\n\t\n\n\n\n\n\n\n\n\n\n\n\n\n...', Array, Object(XenForo_Template_Public))
#7 /home/***/domains/squattheplanet.com/public/library/XenForo/CodeEvent.php(58): call_user_func_array(Array, Array)
#8 /home/***/domains/squattheplanet.com/public/library/XenForo/Template/Abstract.php(195): XenForo_CodeEvent::fire('template_post_r...', Array, 'search_results')
#9 /home/***/domains/squattheplanet.com/public/library/XenForo/Template/Public.php(110): XenForo_Template_Abstract->render()
#10 /home/***/domains/squattheplanet.com/public/library/XenForo/ViewRenderer/HtmlPublic.php(123): XenForo_Template_Public->render()
#11 /home/***/domains/squattheplanet.com/public/library/XenForo/FrontController.php(637): XenForo_ViewRenderer_HtmlPublic->renderContainer(Object(XenForo_Template_Public), Array)
#12 /home/***/domains/squattheplanet.com/public/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#13 /home/***/domains/squattheplanet.com/public/index.php(13): XenForo_FrontController->run()
#14 {main}
Request State
array(3) {
  ["url"] => string(113) "https://squattheplanet.com/search/2079378/?q=%2A%2A%2A%2A&o=date&c[node]=17&c[user][0]=14752&c[user_content]=post"
  ["_GET"] => array(4) {
    ["/search/2079378/"] => string(0) ""
    ["q"] => string(4) "****"
    ["o"] => string(4) "date"
    ["c"] => array(3) {
      ["node"] => string(2) "17"
      ["user"] => array(1) {
        [0] => string(5) "14752"
      }
      ["user_content"] => string(4) "post"
    }
  }
  ["_POST"] => array(0) {
  }
}