This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
addons:twitter_feed:start [2010/09/24 18:23] matt created |
addons:twitter_feed:start [2014/09/25 16:55] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====Twitter Feed Addon===== | =====Twitter Feed Addon===== | ||
| - | **Coming Soon!** | + | The Twitter Feed addon allows your sellers to embed a Timeline from http:// |
| - | The Twitter Feed addon allows your site's users to enter their Twitter username during the listing placement process. If they do so, their most recent Tweets will appear in a customizable module that you can place anywhere on the listing details page. The settings | + | In order for a timeline |
| - | + | ||
| - | This page will detail each of the settings in that file. By default, the portion | + | |
| - | <code html> | + | |
| - | | + | |
| - | type: ' | + | |
| - | rpp: 10, //number of tweets to show | + | |
| - | interval: 4000, //only used when features.behavior=default: | + | |
| - | width: 250, //width of widget, in pixels or ' | + | |
| - | height: 300, //height of widget, in pixels | + | |
| - | theme: { | + | |
| - | shell: { | + | |
| - | background: '# | + | |
| - | color: '# | + | |
| - | }, | + | |
| - | tweets: { | + | |
| - | background: '# | + | |
| - | color: '# | + | |
| - | links: '# | + | |
| - | } | + | |
| - | }, | + | |
| - | features: { | + | |
| - | scrollbar: false, //show scrollbar on the side [true|false] | + | |
| - | loop: true, //only when behavior=default: | + | |
| - | live: true, //poll for new updates [true|false] | + | |
| - | hashtags: true, //include | + | |
| - | timestamp: true, //show time each update was posted [true|false] | + | |
| - | avatars: true, //show user pictures to the left of each update [true|false] | + | |
| - | behavior: ' | + | |
| - | } | + | |
| - | </ | + | |
| - | + | ||
| - | As you can see, there are three main sections of options: the overall settings at the top, the " | + | |
| - | + | ||
| - | ====Overall Settings==== | + | |
| - | + | ||
| - | These are the basic, numerical settings that describe how the feed will appear. | + | |
| - | + | ||
| - | ===version=== | + | |
| - | This is an internal setting, and should always be **2** | + | |
| - | + | ||
| - | ===type=== | + | |
| - | This is an internal setting, and should always be **'profile'** | + | |
| - | + | ||
| - | ===rpp=== | + | |
| - | This is the number of unique Tweets that will appear when the feed is loaded. The default value is **10** | + | |
| - | + | ||
| - | ===interval=== | + | |
| - | This is the time in milliseconds the script will wait between loading each tweet. Note that this only has an effect when using the " | + | |
| - | + | ||
| - | ===width=== | + | |
| - | The width in pixels of the feed, as it appears on the listing details page. Also accepts the value **'auto'** for automatic width detection. Default is **250** | + | |
| - | + | ||
| - | ===height=== | + | |
| - | The height in pixels of the feed, as it appears on the listing details page. Does NOT accept **'auto' | + | |
| - | + | ||
| - | ====Theme==== | + | |
| - | These are settings that deal with the colors used in the feed. Each setting takes as its input an HTML-style RGB hex code. | + | |
| - | + | ||
| - | ===shell=== | + | |
| - | ==background== | + | |
| - | The main " | + | |
| - | ==color== | + | |
| - | Text color for the frame header. Default is **'# | + | |
| - | + | ||
| - | ===tweets=== | + | |
| - | ==background== | + | |
| - | Background color for the body of the feed display. Default is **'# | + | |
| - | ==color== | + | |
| - | Color of the text used for the actual tweets. Default is **'# | + | |
| - | ==links== | + | |
| - | Color of the links used in and around the tweet text. Default is **'# | + | |
| - | + | ||
| - | ====features==== | + | |
| - | These settings describe the way tweets appear, and the way users can interact with the feed. | + | |
| - | + | ||
| - | ===scrollbar=== | + | |
| - | If this is set to **true**, a scrollbar will be shown on the right-hand side of the feed, to allow a viewer to scroll between displayed tweets. This is most useful when the " | + | |
| - | + | ||
| - | ===loop=== | + | |
| - | This setting is only used when the " | + | |
| - | + | ||
| - | ===live=== | + | |
| - | If this is set to **true**, the feed will periodically poll the Twitter servers for new tweets to show. Valid values for this setting are: **true** or **false**. Default is **true**. | + | |
| - | + | ||
| - | ===hashtags=== | + | |
| - | Twitter users will sometimes | + | |
| - | + | ||
| - | ===timestamp=== | + | |
| - | If this is set to **true**, each tweet will be followed by a short text string describing how long ago it was made, such as " | + | |
| - | + | ||
| - | ===avatars=== | + | |
| - | If this is set to **true**, each tweet will show the profile image of its posting user to its left. Valid values for this setting are: **true** or **false**. Default is **true**. | + | |
| - | + | ||
| - | ===behavior=== | + | |
| - | Controls whether tweets will be loaded individually or all at the same time. Valid values for this setting are: **' | + | |