Hi

I am trying to write a facebook application in python - I have been
programming simple desktop applications till now and am not really
familiar with web apps

Pyfacebook is the wrapper for the REST based Facebook API - there is a
simple example for its usage as shown below:

def simple_web_app(request, api_key, secret_key):
    fb = Facebook(api_key, secret_key, request.GET['auth_token'])
    fb.auth_getSession()

A Django-based tutorial and source is available here:
http://wiki.developers.facebook.com/index.php/PythonPyFacebookTutorial

I really don't want to use a framework for the time being and just
want an app up and running

My question is - how do you create the "request" object which will be
passed into the simple_web_app(request, api_key, secret_key) function
here - is there somewhere I can read into it?

I have been googling for hours and there seems to be no simple,
straightforward example for this - PHP rules when it comes to simple
web programming apps - either I am not looking at the right places but
it's very hard to get up and running quickly for web apps in Python -
maybe DiveIntoPython needs a section devoted for web programming

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to