Hi,
I've followed the Pyfacebook tutorial here: http://uswaretech.com/blog/2009/02/how-to-build-a-facebook-app-in-django/
However, it never seems to get my user id (and thus user details). The "request.facebook" object is sucessfully created but it's mostly full of null data- eg request.facebook.uid=None in my Views.
I've hunted through the pyfacebook code, and found this:
if 'fb_sig_session_key' in request.GET and 'fb_sig_user' in request.GET:
request.facebook.session_key = request.session['facebook_session_key'] = request.GET['fb_sig_session_key']
request.facebook.uid = request.session['fb_sig_user'] = request.GET['fb_sig_user']
elif request.session.get('facebook_session_key', None) and request.session.get('facebook_user_id', None):
request.facebook.session_key = request.session['facebook_session_key']
request.facebook.uid = request.session['facebook_user_id']
My request.GET is completely empty. and my request.session doesn't include any facebook data.
Any ideas what I'm doing wrong?
Thanks