Hi Peter,

sorry for not answering to your question before.

Well, first of all qooxdoo is at the end just an EcmaScript (alias JavaScript) 
library, so every other library can be used together with qooxdoo. Depending on 
the integration of facebook lib, you should be able to get access to their api 
through a  global object. If the fb lib was loaded inside a closure, you have 
to make the fb object available for qooxdoo. I would just bind the the fb 
object with an static name member defined in one of your qx classes.

Dank & Gruß 
Mustafa Sak
Softwareentwickler
Mail Development
1&1 Mail & Media Development & Technology GmbH | Brauerstraße 48 | 76135 
Karlsruhe | Germany
Phone: +49 721 91374-6977
E-Mail: mustafa....@1und1.de | Web: www.1und1.de


-----Ursprüngliche Nachricht-----
Von: Peter Caffin [mailto:pe...@caffin.org] 
Gesendet: Mittwoch, 17. Juni 2015 12:00
An: qooxdoo Development
Betreff: [qooxdoo-devel] Bump!: Using Qooxdoo Desktop to make a Facebook app

Hi folks,

I originally asked on the Qooxdoo Facebook page, and they recommended to ask 
here.

There were no replies when I asked here back in January. Hope someone might 
have some suggestions now...


Thanks.

-------- Forwarded Message --------
Subject: [qooxdoo-devel] Using Qooxdoo Desktop to make a Facebook app
Date: Wed, 21 Jan 2015 12:05:08 +0800
From: Peter Caffin <pe...@caffin.org>
Reply-To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
To: qooxdoo-devel@lists.sourceforge.net

Hi guys,

I already have a Qooxdoo Desktop site I have written. I would like to
add Facebook functionality to it. I've not done this before, and I
haven't been able to find any documentation or discussion of it online.

Without changing anything, the desktop site loads OK in the Facebook
canvas, no problems.

To do more, eg, to bring up a Facebook dialog box etc, Facebook has some 
code you'd normally add to your index.html to load the Javascript API at 
https://connect.facebook.net/en_US/sdk.js

See http://paste.tclers.tk/3399?v=raw for the index.html with the
Facebook API stuff I've added to my project.

Two questions:

(a) Should that Facebook code be somewhere else or is this fine?

(b) From within the source of my script (which builds in this case to
script/au_js.js), should I be able to just call Facebook functions (eg,
to get the Facebook user's ID, etc) as Facebook documents them, or will
I need to perform some extra steps?

Any assistance very much welcomed.

Thanks.



------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to