Syntax for Facebook Like button:
        
            
                Last updated on 
                
                    May 30, 2024
                
            
            
                 | 
                
                    Also applies to ColdFusion
                
            
        
        
            
        
    
- ColdFusion Developers Guide
 - Develop ColdFusion applications
  
- Introducing ColdFusion
 - Changes in ColdFusion
- Replacement of JRun with Tomcat
 - Security enhancements
 - ColdFusion WebSocket
 - Enhanced Java integration
 - ColdFusion ORM search for indexing and search
 - Solr enhancements
 - Scheduler enhancements
 - Integration with Microsoft Exchange Server 2010
 - RESTful Web Services in ColdFusion
 - Lazy loading across client and server in ColdFusion
 - Web service enhancements
 - Displaying geolocation
 - Client-side charting
 - Caching enhancements
 - Server update using ColdFusion Administrator
 - Secure Profile for ColdFusion Administrator
 
 - Introduction to application development
 - The CFML programming language
 - Building blocks of ColdFusion applications
 - Develop CFML applications
    
- Develop CFML applications
 - Design and optimize a ColdFusion application
 - Handle errors
 - Use persistent data and locking
 - Use ColdFusion threads
 - Secure applications
 - Client-side CFML (for mobile development)
 - Use the ColdFusion debugger
 - Debugging and Troubleshooting Applications
 - Develop globalized applications
 - REST enhancements in ColdFusion
 - Authentication through OAuth
 - Social enhancements
 
 - Develop mobile applications
 - Access and use data
 - ColdFusion ORM
 - ColdFusion and HTML5
 - Flex and AIR integration in ColdFusion
 - Request and present information
 - Office file interoperability
 - ColdFusion portlets
 - Work with documents, charts, and reports
 - Use web elements and external objects
 - Use external resources
    
- Send and receive e-mail
 - Interact with Microsoft Exchange servers
 - Interact with remote servers
 - Manage files on the server
 - Use event gateways
 - Create custom event gateways
 - Use the ColdFusion extensions for Eclipse
 - Use the data services messaging event gateway
 - Use the data management event gateway
 - Use the FMS event gateway
 - Use the instant messaging event gateways
 - Use the SMS event gateway
 
 
 
ColdFusion has introduced the support for dynamically generating Like button, Tweet button, and Comment box for social media sites. The supported widgets are:
- Like button
 - Tweet button
 - Facebook comment box
 - Google Plus button
 - Facebook subscribe button
 - Like box
 - Activity feed
 - Follow
 
Examples
- 
    
<cf_socialplugin type = "like" url = "" layout = "standard|box_count|button_count" showfaces = "true|false" verb = "like|recommend" colorscheme = "light|dark" style = "" width = "" extraoptions = "" >
 - 
    
Syntax for Facebook Likebox button:
<cf_socialplugin type = "likebox" url = "This refers to a Facebook Page." showfaces = "true|false" showstream = "true|false" showheader = "true|false" colorscheme = "light|dark" style = "" height = "" width = "" extraoptions = "" >
 - 
    
Syntax for Activity feed for a Facebook application:
<cf_socialplugin type = "activityfeed" appid= "facebook_app_id" width = "" height = "" colorscheme = "light|dark" showheader = "true|false" action = "" linktarget = "_blank|_top|_parent" recommendations = "true|false" style = "" extraoptions = "" >
 - 
    
Syntax for a Twitter Follow button:
<cf_socialplugin type = "follow" showcount= "true|false" buttonsize= "medium|large" language = "en|fr|.........." showusername = "true|false" username = "" style = "" extraoptions = "" >
 - 
    
Syntax for a Google Plus button:
<cf_socialplugin type = "plusone" url = "url to plus one" buttonsize= "small|medium|large|tall" language = "en|fr|.........." width = "" annotation = "none|inline|bubble" style = "" extraoptions = "" >
 - 
    
Syntax for a Facebook Comment box:
<cf_socialplugin type = "commentbox" url = "url" width= "" colorscheme = "dark|light" numberofposts = "" style = "" extraoptions = "" >
 - 
    
Syntax for a Facebook Subscribe button:
<cf_socialplugin type = "subscribe" url = "profile to subscribe" width = "" colorscheme = "dark|light" showfaces = "true|false" layout = "standard|button_count|box_count" style = "" extraoptions = "" >
 - 
    
Syntax for Tweet button:
<cf_socialplugin type = "tweet" url = "url to share" tweettext = "default tweet text" language = "en|fr|.........." count = "none|horizontal" hashtag = "Comma separated hash tags appended to tweet text. Do not include the #. It is preprended to each list item automatically." buttonsize = "small|large" via = "" recommend = "" style = "" extraoptions = "" >