According to http://github.com/facebook/python-sdk/blob/master/src/facebook.py , In my canvas application, i can do the following call to get my access_token, which will work because my user has used facebook to login:
import facebook
myDict = facebook.get_user_from_cookie(cookies, app_id, app_secret)
# my access_token is myDict["access_token"]
myDict is alwas None, any ideas?
EDIT: I am running on app engine, By "canvas", i mean a facebook app which is ran inside of the facebook platform. Ie, it is'nt on my webiste, iphone or a desktop app. I realize that it is up to the javascript SDK to set the cookie, but to my understanding, if the application is running inside of facebook, then the cookies should allready be set.