pdincubus / JSONDerulo

JSON feed getter-er for MODX Revolution CMS
Other
26 stars 10 forks source link

Twitter Feed Blank #8

Closed nickff closed 11 years ago

nickff commented 11 years ago

Hello,

Not sure what I might be doing wrong here (if anything), but my twitter feed is blank. I've got the most recent version of the extra installed and my app setup properly. It was working as of a couple weeks ago, but suddenly it's stopped generating anything (this may have coincided with my updating REVO to 2.2.8-pl...not sure).

Here are my code blocks:

[[!TwitterFeedNew? &tpl=TwitterFeedItemNew &limit=4 &cacheName=thefutureFWD &screenName=thefutureFWD &includeRTs=1 &consumerKey=&consumerSecret= &accessToken=&accessTokenSecret= &cacheTime=60]]

<li class="cf">
[[+id:notempty=`

  [[+isRetweet:is=`1`:then=`
  <a href="http://twitter.com/#!/[[+originalUsername]]">
    <img src="[[+originalAuthorPicture:phpthumbof=`q=85&w=48&h=48`]]" alt="[[+originalAuthor]]">
      <span class="userfullname">[[+originalAuthor]]</span>
      <span class="username">@[[+originalUsername]]</span>
  </a>
  `:else=`
  <a href="http://twitter.com/#!/[[+username]]">
    <img src="[[+picture:phpthumbof=`q=85&w=48&h=48`]]" alt="[[+title]]">
      <span class="userfullname">[[+title]]</span>
      <span class="username">@[[+username]]</span>
  </a>
  `]]

  <div class="tweet">
    [[+message]]
  </div>

  <a href="http://twitter.com/#!/[[+username]]/status/[[+id]]">
    <time datetime="[[+created:date=`%Y-%m-%d`]]">[[+created:date=`%e %B`]]</time>
  </a>

  <ul class="cf">
    <li><a href="https://twitter.com/intent/tweet?in_reply_to=[[+id]]" class="twitterReply">Reply</a></li>
    <li><a href="https://twitter.com/intent/retweet?tweet_id=[[+id]]" class="twitterRetweet">Retweet</a></li>
    <li><a href="https://twitter.com/intent/favorite?tweet_id=[[+id]]" class="twitterFavourite">Favourite</a></li>
  </ul>
  `:default=`
    [[+message]]
  `]]
</li>

It should be appearing in the "info tab" on the right, but I'm getting nothing: http://thefutureforward.com

Let me know if you need any more info or have any thoughts on this!

pdincubus commented 11 years ago

Hi there,

can you confirm that you are using version 1.7.3 of the package? For some reason the MODX repo thinks that 1.7.1 is newer than 1.7.3! It's not! And the fixes for the Twitter feeds are in 1.7.3.

Can you install that version and let me know how you get on? (Also, I edited out your consumer secrets, etc - you'll probably not want anyone else knowing them! :) )

nickff commented 11 years ago

@pdincubus brilliant - 1.7.3 works! the repo threw me off there. thanks for the tip!!