<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Facebook Alfresco Document Library setup in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139856#M97992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You were right about the bad secret–I had mis-typed it in my _apps/&amp;lt;app id&amp;gt;.js file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So now the app comes up but the "Create Document Library" button calls *your* canvas URL instead of mine. I thought maybe you had it hardcoded but the canvas.post.fbml.ftl has ${facebook.canvasURL}. It's almost as if that is returning alfrescodoclib instead of my canvas URL, jtpalfrescodoclib.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll turn on debug and see if that's the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2007 22:23:41 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2007-11-20T22:23:41Z</dc:date>
    <item>
      <title>Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139853#M97989</link>
      <description>I've walked through the "hello world" Alfresco-Facebook integration example on http://wiki.alfresco.com/wiki/Facebook and it worked fine. Now I'm trying to set up the Alfresco Document library. I must be missing a step. Here's what I've done:1. Installed the amp.2. Created a new Facebook app key. Sn</description>
      <pubDate>Tue, 20 Nov 2007 17:35:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139853#M97989</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2007-11-20T17:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139854#M97990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Incorrect signature usually signifies an invalid secret key, although I'm sure you've got the correct one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you switch on debug logging for org.alfresco.web.scripts - that'll provide logging for the Facebook integration too and might give a hint.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I notice you've mapped to /alfresco/facebook/alfrescodoclib/, but the canvas Url alfrescodoclib has already been taken by Alfresco.&amp;nbsp; I guess you've changed your canvas url. I think we've only tested when canvas and callback url match.&amp;nbsp; That might be an issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 18:07:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139854#M97990</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-11-20T18:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139855#M97991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me clarify what I'm attempting to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You guys have already implemented the doc library web scripts. I want to try out the Facebook Alfresco Document Library. Because that Facebook app does not seem to be in the application directory (and, because I would want it to point to my Alfresco instance, not yours), I assumed I would need to set up my own Facebook app key which pointed to my Alfresco repo running your web scripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;In order to get that to work it seems like I could use my own callback URL (points to my host and your web script: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;my host&amp;gt;:8080/alfresco/facebook/alfrescodoclib/) and my own canvas URL (/jtpalfrescodoclib/).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There shouldn't be any relationship between the web script URL and the canvas URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing that's different is the app key, app id, and secret, which I take care of by creating my own _apps/&amp;lt;app key&amp;gt;.js file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I need to delete your old one. I'll try that. I'll also turn on debugging and let you know what I find.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If my approach seems flawed let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 22:01:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139855#M97991</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2007-11-20T22:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139856#M97992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You were right about the bad secret–I had mis-typed it in my _apps/&amp;lt;app id&amp;gt;.js file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So now the app comes up but the "Create Document Library" button calls *your* canvas URL instead of mine. I thought maybe you had it hardcoded but the canvas.post.fbml.ftl has ${facebook.canvasURL}. It's almost as if that is returning alfrescodoclib instead of my canvas URL, jtpalfrescodoclib.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll turn on debug and see if that's the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 22:23:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139856#M97992</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2007-11-20T22:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139857#M97993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I hooked up the debugger and confirmed that getCanvasURL() ultimately uses FacebookServletRequest.pathInfo which is derived by the web script URL. That means the framework assumes that the canvas URL always matches the callback URL (ie, the web script).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The conclusion I've reached is that no one will be able to run the Facebook AMP out-of-the-box without first updating all of the *.desc.xml files such that the URL element matches the following syntax:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/facebook/&amp;lt;Canvas Page URL&amp;gt;/&amp;lt;whatever&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If someone can validate that I can update the wiki with setup instructions for the Facebook AMP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 23:09:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139857#M97993</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2007-11-20T23:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139858#M97994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;There shouldn't be any relationship between the web script URL and the canvas URL.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally, but I chose a URL convention where they are matched.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Provides a simple convention to follow when setting up a new Facebook app - the Facebook registration form is a stumbling block &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Facebook Canvas URLs are globally unique and thus so will all Facebook webscript URLs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) It's possible to map back to the public Facebook site URL from within a Facebook Webscript&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The downside is that it's not possible to map a Facebook app implementation to multiple Facebook aps.&amp;nbsp; This is minor.&amp;nbsp; I consider the sample app as a basis for copy and paste.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if updating the *.desc.xml files work.&amp;nbsp; The WIKI page probably needs a section on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, let me know if you agree/disagree with the above design/constraints.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2007 11:29:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139858#M97994</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-11-21T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139859#M97995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see what you were going for but it seems like there'd be value in being able to write web scripts that could be used by any facebook app out-of-the-box. Granted, changing the descriptor isn't a huge deal but it's still a change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are already storing the app ID and the secret in that app file. Why not store the canvas URL in there and then change the getCanvasURL() method to read it from that file? Those are values that have to change with each facebook app instance anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 02:20:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139859#M97995</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2007-11-29T02:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139860#M97996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You are already storing the app ID and the secret in that app file. Why not store the canvas URL in there and then change the getCanvasURL() method to read it from that file?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Good idea - if it's provided it can override the current behaviour.&amp;nbsp; I'll see if I can add that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2007 12:54:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139860#M97996</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2007-11-29T12:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139861#M97997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jpotts,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have downloaded&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;alfresco-fb-doclib.amp&lt;/STRONG&gt;&lt;SPAN&gt; file and keep it inside amps/ folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this amp is currupted. It only creates one Foldername&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG&gt;FB5607893292&lt;/STRONG&gt;&lt;SPAN&gt; and that is over.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It will not create any webscripts inside our webscript folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I copied all webscript files from extracting it and put through CIFS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am able to get the first screen and it is not showing up any docs inside it even I uploaded files inside my Company Home/FB&amp;lt;key&amp;gt; folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And when I try to navigate through any link it will crashes or no page means its not getting URL on that way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you elaborate exact steps to make this alfresco facebook doc lib application running perfectly ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what changes should I have to made ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2008 12:07:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139861#M97997</guid>
      <dc:creator>g_rathod</dc:creator>
      <dc:date>2008-12-01T12:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Facebook Alfresco Document Library setup</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139862#M97998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried to integrate alfresco with facebook but getting below error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; org.mozilla.javascript.EcmaError - ReferenceError: "facebook" is not defined. (file:/data/Alfresco_components/alfresco-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.0.2.9/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/facebook/doclib/canvas.post.js#3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think, implicit object 'facebook' is not initialized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you provide me the solution for this or any configuration that I should look for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Mar 2013 07:00:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/facebook-alfresco-document-library-setup/m-p/139862#M97998</guid>
      <dc:creator>aaditvmajmudar</dc:creator>
      <dc:date>2013-03-05T07:00:00Z</dc:date>
    </item>
  </channel>
</rss>

