Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Widgets /

Discuss SilverStripe Widgets.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

TwitterWidgetPack


Go to End


7 Posts   2911 Views

Avatar
dacar

Community Member, 173 Posts

10 November 2010 at 12:54am

Hi,

does anybody know how to set the sort order for the displayed tweets to Date DESC? I have already searched google and the twitter api but did not find a hint.

new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 6000,
width: 250,
height: 300,
theme: {
shell: {
background: '#333333',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#4aed05'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
hashtags: true,
timestamp: true,
avatars: false,
behavior: 'all'}}).render().setUser('usernameHere').start(); 

Greetings, Carsten.

Avatar
MjamTaart!

Community Member, 5 Posts

27 November 2010 at 2:28am

I subsribe, cause I also like to know. :)

Strange thing is, if you look at the example on the Twitter website, the order is in reverse.

Avatar
dacar

Community Member, 173 Posts

27 November 2010 at 2:45am

Hi Mjam,

even on Hamish's website it is sorted the other way round. I have send him an email a few days ago, but still no response. I will share, if i get an answer.

Avatar
borriej

Community Member, 267 Posts

19 February 2011 at 1:57am

up! how do you reverse the twitter module? so the latest tweet on top?

Avatar
Hamish

Community Member, 712 Posts

21 February 2011 at 8:15am

I don't believe it can be sorted - the JavaScript API that powers the widget is supplied by Twitter (see http://twitter.com/about/resources/widgets/). As far as I know there is no explicit ordering option, although there could be some undocumented behaviour I'm not aware of.

Avatar
borriej

Community Member, 267 Posts

21 February 2011 at 8:32am

Im very curious how other people are dealing with this issue!

Avatar
biapar

Forum Moderator, 435 Posts

28 February 2011 at 6:43am

Where is this mod?