Questions tagged [django-facebook]

A Facebook open graph API implementation using the Django web framework in python.

A Facebook open graph API implementation using the Django web framework in python. It enables users to register using the Facebook API. It converts the Facebook user data and creates regular User and Profile objects. Integrates with your existing Django application.

Documentation for this app is sparse.

82 questions
0
votes
1 answer

django_facebook.middleware.FacebookCanvasMiddleWare error. "NoReverseMatch: u"'admin" is not a registered namespace

I'm just trying to implement the django_facebook API to a Proof of Concept without success. I've made the step by step from the README.rest: https://github.com/tschellenbach/Django-facebook I'm hosting the POC on OpenShift. Info about the virtenv:…
0
votes
0 answers

Django_Facebook admin login

I'm using django_facebook[1] but when I use FacebookCustomUser and run ./manage.py syncdb it doens't generate admin user. How can I proceed? AUTH_USER_MODEL = 'django_facebook.FacebookCustomUser' [1]https://github.com/tschellenbach/Django-facebook/
0
votes
1 answer

Posting to my Facebook page from my web app in production

I installed Django Facebook and I am using this method to post to a Page: from open_facebook.api import OpenFacebook graph = OpenFacebook("my_access_token") graph.set('me/feed', message='hello world') It's working on my local dev machine when I am…
Adam
  • 2,948
  • 10
  • 43
  • 74
0
votes
1 answer

Facebook Graph API & django-facebook - posting links and photos to page feeds

@facebook_required_lazy(scope=['manage_pages', 'publish_stream', 'photo_upload']) def index(request): if request.method == 'POST': form = CPYPosterForm(request.POST) if form.is_valid(): fb =…
duffn
  • 3,690
  • 8
  • 33
  • 68
0
votes
0 answers

Admin access along with django-facebook

I am new to setting up django-facebook. I tried to set it up as per the docs/tutorial. Is there a way to setup a separate way for admin account access? When I run syncdb, it does not ask me to setup admin/superuser when I set AUTH_USER_MODEL to my…
Sandeep
  • 346
  • 5
  • 8
0
votes
1 answer

Django - Integrating django-profiles (and django-registration) with django-facebook

[Django 1.5.1] I've set up django-profiles and django-registration for my small site in a way that involves a 'custom' registration backend such that during registration, a new user fills out their username, password, and profile fields in one go.…
0
votes
0 answers

Django Facebook Userena Integration: Active Status

I am trying to hook up Django-Facebook to use with Userena. Userena works fine on its own, but I am having problems getting Django-facebook to work with it. Once registered with Facebook, users are not given "active" status in user…
Nick B
  • 9,267
  • 17
  • 64
  • 105
0
votes
1 answer

Getting django-facebook to work

I an trying to get django-facebook to work as per instructions given in the readme on https://github.com/tschellenbach/Django-facebook. I am new to django. It looks simple but I am facing the following problems. I am not able to get it to work. In…
Echo Alex
  • 60
  • 1
  • 8
0
votes
1 answer

using django-facebook to save facebook user friends

I am using django-facebook to have facebook connect functionality in my site. Everything is great till now, however I am trying to save the friends list in my db when the signal facebook_user_registered is called using the function…
Nuno_147
  • 2,817
  • 5
  • 23
  • 36
0
votes
1 answer

django-facebook does not login facebook test user

I am creating a web app that allows users to register using their Facebook account. I am using django-facebook to do the authentication / registration of new users. I am trying what I think is the simplest setup, using django registration instead…
0
votes
1 answer

Use an image of an ImageField for an other ImageField. Django

I'm using django_facebook. Each time a user registers with fb, her profilpicture is loaded on a field called 'image' In my models.py I have a field, named profilpic, to allow users to have a profil picture: class…
JojoL
  • 141
  • 1
  • 8
0
votes
1 answer

Anonymous User Error Edit

I have installed django-facebook-4.0.8 for my website.The package is installed succesfully but giving different types of errors. Please help! I am using AUTH_PROFILE_MODULE = 'django_facebook.FacebookProfile'. It is registering the user as AUTH user…
user1746291
  • 323
  • 2
  • 5
  • 15
0
votes
1 answer

Use facebook picture as default picture. Django

I'm using django-facebook and I would like the profile-picture to be the picture of my user when they register with facebook. In my custom User model (Userprofile) I have a profilpic = models.ImageField(...) I also have this function in…
Juliette Dupuis
  • 1,027
  • 2
  • 13
  • 22
0
votes
2 answers

Django auth + userena + django_facebook from another database

I have a Django installation with userena and django_facebook working pretty fine. Can I somewhat make my authentication work from another database (one database for authentication and another for everything else)? The problem is that the project…
btatarov
  • 657
  • 1
  • 5
  • 8
0
votes
1 answer

How to know if a user is facebook logged in? Django

As the title indicates, I would like to know how to do to distinguish a user that is logged in with facebook from a user that is logged in by mail. I'm using django-facebook. It seems that request.user.is_authenticated() is for every kind of…
JojoL
  • 141
  • 1
  • 8