views:

670

answers:

2

hello, I'm trying to integrate some photo related functionality with my site and facebook. I checked out facebook connect and it seems like the way to go for this (since I don't want to make an app, just have users authenticate and then grab some content from facebook to integrate into our site)

First of all, if you think there is a better way to do this (infinite session maybe?) let me know.

Otherwise here is the problem I'm having... I downloaded django-fbconnect and installed it as an app (as per the readme.txt included in the svn) but python is complaining about a missing signals.py

Error: No module named signals

which I assume should be fbconnect/signals.py because of this line of code:

from fbconnect.signals import facebook_update

Anyway does anyone have experience with django-fbconnect? or any advice on getting the developer to update google code?

Thanks

edit: Found this: "Integrating Facebook Connect with Django in 15 minutes" which uses middleware instead of the django-fbconnect app. I prefer the app because it's lighter and the code is clearer. Also, it sticks to the 'everything is an app' culture of django. but I guess I'll look into this other possibility

edit 2: I contacted the original author of django-fbconnect, and he graciously updated the project with the missing file (he also answered on this post)

A: 

the solution proposeed by van gale (removing the lines which reference the signals.py file) work well enough. I think I may end up needing to write my own signals.py eventually... I keep you updated.

Anyway here's is the answer:

Remove the functionality and all uses of it, provided by the signals.py

it's kind of crappy, but oh well

The missing file has been added to the google code project! :)

Jiaaro
+1  A: 

I've just added the missing file folks. Sorry for the inconveniences. :/

Alen