Thanks for the updates Anton. I could deploy release: "1.5.3"
timestamp: 1311108376
api_versions: ['1']
Looked at files models.py from users app, webapp.py from gae and some templates I registered an application with facebook and I can authenticate to my FB app with GAE Framework to develop the User model with additional OpenID and OAuth providers (Facebook, Twitter, etc) I can add my facebook app from
http://niklas-app.appspot.com/user/login and now I'm looking at how to authenticate, store and render facebook data:
def render(self, name, **data): """Render a template""" if not data: data = {} data[u'js_conf'] = json.dumps({ u'appId': conf.FACEBOOK_APP_ID, u'canvasName': conf.FACEBOOK_CANVAS_NAME, u'userIdOnServer': self.user.user_id if self.user else None, }) data[u'logged_in_user'] = self.user data[u'message'] = self.get_message() data[u'csrf_token'] = self.csrf_token data[u'canvas_name'] = conf.FACEBOOK_CANVAS_NAME self.response.out.write(template.render( os.path.join( os.path.dirname(__file__), 'templates', name + '.html'), data))Please let's communicate if we can develop our ideas how to harmonize User models render functions requesthandlers ("basehandlers")
I tried with a requesthandler for a facebook provided account that can login and logout now I'm going to store data and render it.
They also have a "realtime API" but that's only if you must refresh data which you can do programatically and a good start is just store the facebookID along with the User model.
Thank you!
Niklas