Make sure you extend a layout that says ONLY
<fb:canvas>{{include}}</fb:canvas>
Massimo
On Feb 27, 4:14 am, notabene <[email protected]> wrote:
> Might be very usefull.
>
> I get this error:
>
> FBML Error (line 88): illegal tag "body" under "fb:canvas"
>
> Using /facebook/default/index
>
> controller/default:
> from applications.facebook.modules.facebook import *
>
> facebook_settings.FACEBOOK_API_KEY = 'da74af75965cb6cxxxxxxxxxxx'
> facebook_settings.FACEBOOK_SECRET_KEY = 'xxd92c88ded21xxxxxxx'
> facebook_settings.FACEBOOK_APP_NAME = "Kultunaut"
> facebook_settings.FACEBOOK_INTERNAL = True
> facebook_settings.FACEBOOK_CALLBACK_PATH = "/facebook/default/index"
>
> def index():
> require_facebook_login(request,facebook_settings)
> return dict(message="Hello "+get_facebook_user(request))
>
> On 21 Feb., 06:56, mdipierro <[email protected]> wrote:
>
> > Download here:
>
> > http://mdp.cti.depaul.edu/appliances/default/show/48
>
> > Try it here:
>
> > http://mdp.cti.depaul.edu/facebook
>
> > You can make it do whatever you want. It uses thefacebooklogin and
> > grabs the user name.
> > Mind that you must not return a <html>...</html> but a <fb:canvas>...</
> > fb:canvas> or a web2py FbCancas helper.
>
> > If you build anything cool with this let me know.
>
> > Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---