<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://community.paperthin.com/adf-docs/index.php?action=history&amp;feed=atom&amp;title=Facebook_v1.2_Install</id>
		<title>Facebook v1.2 Install - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://community.paperthin.com/adf-docs/index.php?action=history&amp;feed=atom&amp;title=Facebook_v1.2_Install"/>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Facebook_v1.2_Install&amp;action=history"/>
		<updated>2026-05-03T12:51:10Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Facebook_v1.2_Install&amp;diff=5433&amp;oldid=prev</id>
		<title>Mcarroll: moved PT Blog Version 1.2 Install to Facebook v1.2 Install</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Facebook_v1.2_Install&amp;diff=5433&amp;oldid=prev"/>
				<updated>2012-01-13T16:20:34Z</updated>
		
		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/adf-docs/index.php/PT_Blog_Version_1.2_Install&quot; class=&quot;mw-redirect&quot; title=&quot;PT Blog Version 1.2 Install&quot;&gt;PT Blog Version 1.2 Install&lt;/a&gt; to &lt;a href=&quot;/adf-docs/index.php/Facebook_v1.2_Install&quot; title=&quot;Facebook v1.2 Install&quot;&gt;Facebook v1.2 Install&lt;/a&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:20, 13 January 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Mcarroll</name></author>	</entry>

	<entry>
		<id>https://community.paperthin.com/adf-docs/index.php?title=Facebook_v1.2_Install&amp;diff=5429&amp;oldid=prev</id>
		<title>Mcarroll: Created page with '== Download == Download the Facebook Application from the Community Site or from the SVN Repository.    Extract the zip file into your '''/ADF/apps/''' folder. A subfolder called…'</title>
		<link rel="alternate" type="text/html" href="https://community.paperthin.com/adf-docs/index.php?title=Facebook_v1.2_Install&amp;diff=5429&amp;oldid=prev"/>
				<updated>2012-01-13T15:50:13Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Download == Download the Facebook Application from the Community Site or from the SVN Repository.    Extract the zip file into your &amp;#039;&amp;#039;&amp;#039;/ADF/apps/&amp;#039;&amp;#039;&amp;#039; folder. A subfolder called…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Download ==&lt;br /&gt;
Download the Facebook Application from the Community Site or from the SVN Repository.  &lt;br /&gt;
&lt;br /&gt;
Extract the zip file into your '''/ADF/apps/''' folder. A subfolder called facebook will be created and will include all the code and the custom elements ready to be imported from the /ADF/apps/facebook/exported-objects/ folder. &lt;br /&gt;
&lt;br /&gt;
== Site Configuration ==&lt;br /&gt;
The Facebook Application is built within the ADF.  The ADF must be installed in the site to run the Facebook App, follow the ADF [[Installation]] instructions.&lt;br /&gt;
&lt;br /&gt;
=== Steps ===&lt;br /&gt;
* Make sure the ADF is setup and running on the site. If the ADF is not setup, then follow the instructions for ADF [[Installation]].&lt;br /&gt;
* Open the site's 'ADF.cfc' ([[Site Configuration (ADF.cfc)|See Site Configuration (ADF.cfc) for more info]]) file (located in your site's /_cs_apps/ directory) in a text editor. Locate the ''Load the ADF Application into application space'' comment in the file. Add (or uncomment) the following command under the comment section:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
loadApp(&amp;quot;facebook&amp;quot;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
* [[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
== Import Custom Elements ==&lt;br /&gt;
The Facebook Application has several Custom Components defined within CommonSpot. The components have been exported and are available in the app's &amp;quot;exported-objects&amp;quot; folder located at the root of the Facebook application directory (e.g. /ADF/apps/facebook/exported-objects/).&lt;br /&gt;
&lt;br /&gt;
Optional: You may want to create a new category within the CommonSpot Element Gallery for 'Facebook Elements'.&lt;br /&gt;
&lt;br /&gt;
To import these objects, you will need to be an administrator for your site. If you are not a site administrator, consult your Server administrator for more information.&lt;br /&gt;
&lt;br /&gt;
=== Import ===&lt;br /&gt;
Follow these steps to import the Custom Elements: &lt;br /&gt;
&lt;br /&gt;
# Go to your site's admin.cfm (CommonSpot's Site Administrator).&lt;br /&gt;
# Expand the 'Elements &amp;amp; Forms' tab and click on 'Elements'.&lt;br /&gt;
# In the Manage Elements screen click on 'Manage Categories'.&lt;br /&gt;
# Now click the 'Add New Category' link and create a 'Facebook Elements' category.&lt;br /&gt;
# Close the 'Manage Element Categories' screen.&lt;br /&gt;
# Back in the 'Manage Elements' screen click on the 'Import Custom Element' link.&lt;br /&gt;
# Now click on 'Browse...' and go to the /ADF/apps/facebook/exported-objects/ folder&lt;br /&gt;
# Click on one of the ZIP files to import that custom element.&lt;br /&gt;
# Be sure to choose your new 'Facebook Elements' category&lt;br /&gt;
# Click Next.&lt;br /&gt;
# Repeat steps 7-10 for other custom elements in the exported-objects folder.&lt;br /&gt;
&lt;br /&gt;
Now you can import the Custom Fields:&lt;br /&gt;
# Go to your site's admin.cfm (CommonSpot's Site Administrator)&lt;br /&gt;
# Expand the 'Elements &amp;amp; Forms' tab and click on 'Field Types and Masks'&lt;br /&gt;
# In the Field Types and Masks screen click on 'Import Custom Field Type'&lt;br /&gt;
# Now click on 'Browse...' and go to the /ADF/apps/facebook/exported-objects/ &lt;br /&gt;
# Click on the zip file that's name starts with 'Post-to-Facebook-Page-Custom-Field-Type-…&amp;quot; &lt;br /&gt;
# Click Next.&lt;br /&gt;
&lt;br /&gt;
=== Verify Imports ===&lt;br /&gt;
The imported components' render handlers must be verified.  During the import process, the render handler paths may have been changed to reflect the current site's path.  &lt;br /&gt;
&lt;br /&gt;
Review and update these paths to reference the ADF path.  In most cases, this will just require to be unlocked and a change in the path from the site name to 'ADF'.&lt;br /&gt;
&lt;br /&gt;
== App Configuration ==&lt;br /&gt;
The Facebook App uses an XML file to store site specific configurations. The Facebook App needs to know your Facebook application's Application ID and Application Secret.&lt;br /&gt;
&lt;br /&gt;
=== Configuration Fields ===&lt;br /&gt;
If you haven't created a Facebook app, go to [http://developers.facebook.com/docs/guides/canvas/ this page for more details]. Read that page and [http://www.facebook.com/developers/createapp.php hit this link] to register your Facebook application.&lt;br /&gt;
&lt;br /&gt;
Don't worry you will not have to write a single line of code to use Facebooks API's, we just need to add those values to the configuration XML file in any text editor (like Notepad).&lt;br /&gt;
&lt;br /&gt;
There are two components in the configuration XML file (/ADF/apps/facebook/site-files/_cs_apps/config/), both can be found on your Facebook app's properties on [http://www.facebook.com/developers/apps.php this page]:&lt;br /&gt;
# '''appID''' - Listed as Application ID.&lt;br /&gt;
# '''appSecret''' - Listed as Application Secret.&lt;br /&gt;
&lt;br /&gt;
=== Final Step ===&lt;br /&gt;
Once your configuration XML file (facebook.xml) has been updated with the correct values, '''move the XML file to the /cs_apps/config/ folder'''.&lt;br /&gt;
[[Reset ADF|Reset the ADF]] for the server and site.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Facebook]]&lt;/div&gt;</summary>
		<author><name>Mcarroll</name></author>	</entry>

	</feed>