Twitter App Follow Button Element

From ADF Docs
Revision as of 21:17, 13 August 2010 by Cmora (talk | contribs) (Created page with '== Overview == A Follow Button custom element was developed using Twitter's @Anywhere API. It is extremely easy to use. == Setup == 1. Import the ''Follow Button'' custom eleme…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

A Follow Button custom element was developed using Twitter's @Anywhere API. It is extremely easy to use.

Setup

1. Import the Follow Button custom element.

Note: Verify the path for the render handler points to the ADF mapping, not the current site's mapping.

Demo

To set up a demo of the Follow Button custom element, follow these steps:

  1. Create a new page and place the Follow Button element on the page.
  2. Click the 'New Data' button.
  3. Type in the Twitter username for the button and click Save.
  4. Submit the changes to the page.

Alternate Method

You can also add Follow Buttons programatically inside a Custom Script like this:

<cfoutput>
Follow buttons can be placed anywhere, like this one to follow me:
#application.papertweet.twitterService.followButton('cvmora')#. <br />
Notice that the button changes when it knows you are already following someone.
</cfoutput>