In this tutorial we will learn by full coldfusion Graph API code example how to publish on your wall and your friends walls. This application uses new oauth authentication method. The code is divided into four files: we will first start with a file called index.cfm: <cfoutput> <!--- Your FB application IDS ---> <cfset api_key = ""/> <cfset secret_key = ""/> <cfset appID = ""/> <!--- create a connection to the fb graph cfc ---> <cfset graphCFC = createObject("component", "graph").init(#appID#, #api_key#, #secret_key#) /> <!--- If user is authenticated or his access token is set create a cookie ---> <cfif not isdefined("cookie.access_token") and isdefined("url.access_token")> <cfset cookie.access_token=url.access_token> </cfif> <!--- If the user is authenticated and access token