icon Twitter Reader
Created by Orckestra

How to add a Twitter feed to a page

  1. From the Content or Layout perspective, insert the Composite.Feeds.TwitterReader function ( Insert > Function), or add the following code:
    Expand code
  2. In the Username parameter, specify the username whose tweets you want to publish on your website (for example, "CompositeC1").
  3. If necessary, set up the optional parameters:
    • TweetsCount: the number of tweets to show (5, by default)
    • LoaderText: the text to show while tweets are being loaded ("Loading tweets...", by default)
    • SlideIn: use the slide-in effect when loading tweets ("True", by default)
    • SlideDuration: the duration of the slide-in effect in milliseconds (750, by default)
    • ShowHeading: show the heading above the tweets ("True", by default)
    • HeadingText: the heading text to show ("Latest Tweets", by default)
    • ShowProfileLink: show the link to the profile ("True", by default)
    • ShowTimestamp: show the timestamp under each tweet ("True", by default)
    • TwitterReaderId: the Id attribute of <div> element used in HTML ("TwitterReader" by default). The Ids must be different for different twitter readers.

Example

After installing the package you can quickly embed twitter feeds on pages or templates using the functionality wizard. By default you get the behavior shown below, customizable via parameter settings (like username to feed from etc.).

[ Error ]