Hi
I'm try to embed twitter feeds in a wiki. I made a markup where the
admin an select the username, count, type (html/flash) and timeline
(friends, public, user) for the twitter feed. This works for the html
version.

But what I cant figure out is how do I specify the type of timeline
(user, public, friends) in the flash version.

For the html version I specified a $timeline variable

in html:
$timeline = friends_timeline;
....
<script type='text/javascript' src='http://twitter.com/statuses/
$timeline/$user.json?callback=twitterCallback2&amp;count=$count'></
script>";
....

But how this works in the flash version. I tried to add a "statuses"
param name or add it to  FlashVars but nothing worked.
    <param name='statuses' value='$timeline' />

    <param name='FlashVars' value='userID=$user&statuses=$timeline....


Anyone an idea?
Thanks for any hints
nos



"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=9,0,124,0' width='290' height='350'
id='TwitterWidget' align='middle'>
    <param name='allowScriptAccess' value='sameDomain' />
    <param name='allowFullScreen' value='false' />
    <param name='movie' value='http://static.twitter.com/flash/widgets/
profile/TwitterWidget.swf' />
    <param name='quality' value='high' />
    <param name='bgcolor' value='#000000' />
    <param name='statuses' value='$timeline' />
    <param name='FlashVars' value='userID=$user&statuses=
$timeline&styleURL=http://static.twitter.com/flash/widgets/profile/
smooth.xml'>
    <embed src='http://static.twitter.com/flash/widgets/profile/
TwitterWidget.swf' quality='high' bgcolor='#000000' width='290'
height='350' name='TwitterWidget' align='middle'
allowScriptAccess='sameDomain' allowFullScreen='false'
type='application/x-shockwave-flash' pluginspage='http://
www.macromedia.com/go/getflashplayer' FlashVars='userID=$user&statuses=
$timeline&styleURL=http://static.twitter.com/flash/widgets/profile/
smooth.xml'/>
</object>";

Reply via email to