Getting facebook OAuth access_token through Python SDK does not seem to be working, any ideas?

Posted by user259349 on Stack Overflow See other posts from Stack Overflow or by user259349
Published on 2010-04-28T05:55:22Z Indexed on 2010/04/28 6:03 UTC
Read the original article Hit count: 743

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?

© Stack Overflow or respective owner

Related posts about facebook

Related posts about python